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

Popovers not working correctly in iOS or Android #52

Open
kumarharsh opened this issue Mar 31, 2014 · 4 comments
Open

Popovers not working correctly in iOS or Android #52

kumarharsh opened this issue Mar 31, 2014 · 4 comments

Comments

@kumarharsh
Copy link

In the demo in android, when the user clicks on an popover list item, the list does not close, nor does the selected item get set (it's erratic, sometimes it does, sometimes it fails)

Also, in iOS, after the popover list closes, the list's label (Fruit/Deserts) is highlighted randomly and erratically.

  • Also, as a minor point in your demo there is a type, it's Desserts not Deserts
@sourcebits-robertbiggs
Copy link

I assume you must be referring to the demo online from the website, right?

@kumarharsh
Copy link
Author

No, not only the demo.
I've tried the demo in the Safari in iPhone 5S and Chrome in Samsung Galaxy S2 too. The demos are buggy.

@sourcebits-robertbiggs
Copy link

Actually, the funky stickiness of selected states is being caused by mobile browsers trying to apply the desktop hover states. I have a simple fix that can resolve that. I just need to go through all the LESS files to make sure that all instances of :hover only get applied on desktop browsers.
As far as Android event bugginess, that unfortunately is the sad state of Android Web browsers. It takes me twice as long to fix the browser bugs on Android as compared to iOS and Windows Phone 8 combined. Try browsing the Android browser forum to see the frustration of developers with the many bugs, and the Android browser team's disinterest in address many of the most egregious bugs.
Android browser events are extremely flaky. Sometimes they fire, sometimes they don't and sometimes they fire two are three times and other times they leak through to interactive objects below, causing them to suddenly execute.
That said, feel free to download the source code and try modifying the code to your satisfaction. It's all broken down into small, modular parts. You just might find a solution and would love to get a pull request that could fix any of the Android event issues.
By the way, give me a couple of days to check in the hover fixes.
Oh, and thanks for the typo callout. Taken care of.

@kumarharsh
Copy link
Author

Thanks for your reply.
Unfortunately, I've got some other projects on my plate right now, so won't be able to contribute to ChocoChip for some time. I'll keep an eye on the progress though. :)

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

2 participants