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

Android 4.0 stock browser compatibility with Dommy? #79

Open
ryanmmmmm opened this issue May 28, 2014 · 1 comment
Open

Android 4.0 stock browser compatibility with Dommy? #79

ryanmmmmm opened this issue May 28, 2014 · 1 comment

Comments

@ryanmmmmm
Copy link

We are attaching click handler events but for some reason on older android 4.0 stock browsers they do not seem to attach properly.

On Android 4.1 and higher everything is working fine:

(dommy/listen! elem type callback)

any thoughts or testing/compatibility info for these versions of android?

Yes old versions of android have crufty browser engines!

@loganlinn
Copy link
Member

Dommy attaches events with attachEventListener when supported, otherwise tries to use attachEvent for IE < 9. I am not familiar with DOM event quirks of Android old stock browser, but I suspect if it isn't working, these two methods aren't supported. One solution might be to try the strategy of [this] in dommy.core/listen!. Pull request welcome!

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