Skip to content
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

Display "Click to interact" text when onFocusOnly is enabled #93

Open
paul121 opened this issue Dec 11, 2020 · 4 comments
Open

Display "Click to interact" text when onFocusOnly is enabled #93

paul121 opened this issue Dec 11, 2020 · 4 comments

Comments

@paul121
Copy link
Member

paul121 commented Dec 11, 2020

@jgaehring in #62 (comment)

I wonder if it might also be helpful to have some sort of indicator which pops up on the map on mouse enter when it's inactive. Perhaps just some animated text that slides up and says "Click to interact" or something like that.

This would be a nice addition. Perhaps it could be configurable as well.

@mstenta
Copy link
Member

mstenta commented Dec 11, 2020

Google Maps JS API does something similar when you try to scroll on it: https://developers.google.com/maps/documentation/javascript/overview

I like the way that looks - grays out the whole window with some white text in the center.

@jgaehring
Copy link
Member

Perhaps it could be configurable as well.

I wonder if this could be done as a behavior, or something similar. As I mentioned in #62, there are applications like Field Kit that really won't need this at all, so it would be nice if it could be added in the application code rather than in this library.

@mstenta
Copy link
Member

mstenta commented Dec 11, 2020

+1 to the behavior idea!

@paul121
Copy link
Member Author

paul121 commented Dec 11, 2020

Yes! It could start as a behavior in Drupal farmOS and later move to this library as an internal behavior if that becomes needed elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants