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

Modal activated when scrolling a list of modal links #598

Open
mirceamitu opened this issue May 27, 2014 · 2 comments
Open

Modal activated when scrolling a list of modal links #598

mirceamitu opened this issue May 27, 2014 · 2 comments
Labels

Comments

@mirceamitu
Copy link

If I have a list (http://goratchet.com/components/#table-views) of modal links (http://goratchet.com/components/#modals), a list longer than the screen, when I scroll (down or up) the list, a modal dialog pops up when the scroll action ends.

How can I prevent this and open the modal only when I tap (not scroll) a link?

JSFiddle sample here: http://jsfiddle.net/9RfMb/2/

@cvrebert cvrebert added the js label May 28, 2014
@cadrell0
Copy link

@helloworlder
Copy link

It's important to have a pixel buffer so that dragging isn't set to true immediately, which will cause usability issues. Konrad Lawson has an implementation for a drag delay as an answer on the mentioned Stack Overflow page, and there is also one I posted up at #643, which is based on another Stack Overflow answer.

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

No branches or pull requests

4 participants