uc-sms / jquery-ui-for-ipad-and-iphone

Automatically exported from code.google.com/p/jquery-ui-for-ipad-and-iphone
0 stars 0 forks source link

jquery button stays highlight after touch #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. include jquery.ui.ipad.alt.js and jquery.ui.touch.js
2. create <div><a>...</a><a>...</a><a>...</a><a>...</a>...</div> and turn them 
into jquery buttons.
3. on ipad, after tabbing the button, it stays highlighted. 

What is the expected output? What do you see instead?
the button turn back to normal after touch.

What version of the product are you using? On what operating system?
downloaded latest today. run on ipad.

Please provide any additional information below.
if i only use jquery.ui.ipad.alt.js then no problem with the button highlight 
but cannot drag. 
when i include jquery.ui.touch.js then i can drag but the button highlight 
problem appeared.

many thanks.

Original issue reported on code.google.com by devilkaz...@gmail.com on 22 Feb 2011 at 8:50

GoogleCodeExporter commented 8 years ago
You only need to add one file depending on the behavior you require

Original comment by taka...@gmail.com on 2 Mar 2011 at 6:18

GoogleCodeExporter commented 8 years ago
Now I only use jquery.ui.touch.js. and the highlight problem is still there. 
When I touch the button, the button changed to ui-state-active.
When my finget left the button, it changed to ui-state-hover and stay like 
that. (as if the cursor on top)
But when I tap another button,I now got 2 buttons at ui-state-active.

Possible to remove the ui-state-active of other buttons??

Original comment by devilkaz...@gmail.com on 2 Mar 2011 at 7:32

GoogleCodeExporter commented 8 years ago
I am also having this issue. Otherwise the script is working great! Thank you 
very much.

Original comment by gcomst...@gmail.com on 12 Apr 2011 at 6:24

GoogleCodeExporter commented 8 years ago
Ah scratch that, I implementd Matt Motherway's change mentioned on the front 
page and it removed the issue for me. Thanks again! This is an excellent plugin.

Original comment by gcomst...@gmail.com on 12 Apr 2011 at 11:14