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

feature: cloudcmd: Prevent unselect being fired on panel click when in mobile view #422

Merged

Conversation

hagaygo
Copy link
Contributor

@hagaygo hagaygo commented Oct 29, 2024

As discussed on #418

This will prevent "unselect" being called on panel click when in mobile view (determined by the hard coded screen width).

Tested the full scenario locally on my mobile and it works just fine.

@hagaygo hagaygo force-pushed the disable-selection-reset-on-mobile-ui branch from 94f3df1 to 524c2ef Compare October 30, 2024 14:41
@hagaygo
Copy link
Contributor Author

hagaygo commented Oct 30, 2024

Changed the code to use new execIfNotMobile as you suggested, to use a function which does the check for is mobile UI.

@coderaiser coderaiser merged commit f22120d into coderaiser:master Oct 30, 2024
@hagaygo hagaygo deleted the disable-selection-reset-on-mobile-ui branch October 30, 2024 20:38
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

Successfully merging this pull request may close these issues.

2 participants