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

prevent constant reopen of slideout #138

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Sep 19, 2023

Description

If you go to field settings and choose the Create a new option for the “CKEditor Config”, close the slideout (without saving) and click anywhere on the page, the slideout will reopen. You can only stop this by reloading a page or using tab to switch focus to a different field. This behaviour is linked to the select_on_focus plugin. Fixed by clearing the lastValidValue for selectize.

Related PR for the CMS: craftcms/cms#13716

Related issues

craftcms/cms#13707

@brandonkelly brandonkelly merged commit 1b15638 into main Sep 26, 2023
3 checks passed
@brandonkelly brandonkelly deleted the bugfix/selectize-select-on-focus-slideout-bug branch September 26, 2023 06:20
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