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

Cannot Use SelectAll on mobile browsers #354

Open
MWC-Tech opened this issue Dec 17, 2023 · 0 comments
Open

Cannot Use SelectAll on mobile browsers #354

MWC-Tech opened this issue Dec 17, 2023 · 0 comments

Comments

@MWC-Tech
Copy link

When using selectAll() on a mobile browser in the documented way:
$("#filter-option-1")[0].sumo.selectAll();

this error is returned:

jquery-3.6.0.min.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'hasClass')
at jquery.sumoselect.min.js:88:260
at Array.forEach ()
at Object.toggSelAll (jquery.sumoselect.min.js:88:225)
at Object.selectAll (jquery.sumoselect.min.js:96:37)

However this works correctly on a desktop browser.

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

1 participant