You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a certain situation in an application where we have a content editable div as a search bar. The search bar is special in that we highlight special search terms as the user types. To keep track of cursor positions as the user types we deal with text selection of the document.
When you enable a draw tool and the hooks are added there is a line that L.DomUtil.disableTextSelection. This prevents the special content editable div from receiving text select start events.
I think this is a bug. I think text selection should only be disabled on the map itself and not the entire DOM document.
This also may be a bug with L.DomUtil.disableTextSelection for leaflet
The text was updated successfully, but these errors were encountered:
I have a certain situation in an application where we have a content editable div as a search bar. The search bar is special in that we highlight special search terms as the user types. To keep track of cursor positions as the user types we deal with text selection of the document.
When you enable a draw tool and the hooks are added there is a line that
L.DomUtil.disableTextSelection
. This prevents the special content editable div from receiving text select start events.I think this is a bug. I think text selection should only be disabled on the map itself and not the entire DOM document.
This also may be a bug with
L.DomUtil.disableTextSelection
for leafletThe text was updated successfully, but these errors were encountered: