Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

flip switch toggles instead of page being scrolled #4615

Closed
zathrus-writer opened this issue Jun 27, 2012 · 2 comments
Closed

flip switch toggles instead of page being scrolled #4615

zathrus-writer opened this issue Jun 27, 2012 · 2 comments

Comments

@zathrus-writer
Copy link

I couldn't find any mention of this anywhere on the web, so I decided to ask here.

When I have flip switch on page and want to scroll that page but hit the switch first, it will automatically flip instead of the page starting to scroll.

Is this behaviour alterable in any way? I have a page with multiple switches on it and each of them performs an action that cannot be cancelled until finished. It's quite annoying when I try to scroll and instead an unwanted action is performed...

Thanks!

@jaspermdegroot
Copy link
Contributor

@zathrus-writer

No, you can't alter this. There is a configurable option "buttonMarkup.hoverDelay" for touch devices, but that only applies to the handle.
Maybe we can change that so it would also apply to the switch area. There are platforms/browsers where you can't control the flip toggle swith by sliding the handle (Opera Mini for example). We have to watch out for not making those unresponsive.

I am closing this as a feature request. Do you mind adding it here https://github.com/jquery/jquery-mobile/wiki/Feature-Requests?

By the way, the forum (https://forum.jquery.com/jquery-mobile) is the right place for questions.

Related issue: #4067 (slider track)

@zathrus-writer
Copy link
Author

thank you, feature request added
the forum registration did not work for me due to a disposable mailbox I use, but thanks anyways :)

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

No branches or pull requests

2 participants