-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Positioning Leaflet elements using CSS Grid #784
base: master
Are you sure you want to change the base?
Conversation
🤖 Pull request artifacts
|
3bc7d85
to
9d4c212
Compare
Tested mobile app, seems to have no effect which is expected 👍 |
I've added another commit now. I forgot to send it earlier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we benefit from making this a leaflet control ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For .leaflet-top, .leaflet-bottom
, pointer-events: none;
is set in the Leaflet styles
Except for .leaflet-control
, it is set to pointer-events: auto;
for clickability
Another option is to remove the leaflet-control
class from the highlighting selection and set pointer-events: auto;
for it.
leaflet-control-container
. This allowed to apply the same indentation for all elements. For example, this fixes accessing the element on smartphones without using the app Unable to close "info screen" on Firefox on Android #781 (comment) close Unable to close "info screen" on Firefox on Android #781