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

Any plans to make this work with touch for mobile browsers? #44

Open
twig opened this issue Sep 22, 2021 · 3 comments
Open

Any plans to make this work with touch for mobile browsers? #44

twig opened this issue Sep 22, 2021 · 3 comments

Comments

@twig
Copy link

twig commented Sep 22, 2021

No description provided.

@wwan5803
Copy link
Owner

Feel like it is not that helpful to move around the modal on mobile browsers given the screen size is so limited

@twig
Copy link
Author

twig commented Sep 23, 2021

In mobile browsers you can still view a page "as desktop" so it gives you more room to work with.

For example on Firefox mobile

  • mobile mode
  • desktop mode

@reinisg
Copy link

reinisg commented Oct 20, 2021

My solution:

  1. isMobile function, checks window width on resize and return boolean
  2. for desktop returns false, will execute this component
  3. for mobile return true, will execute other component which return fullpage modal from other libary

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

No branches or pull requests

3 participants