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

Adds focus: false to newly created modal dialogs #3539

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

tosbourn
Copy link
Contributor

@tosbourn tosbourn commented Jul 8, 2022

Without forcing focus false, the modal will not allow other modals to have focus for their inputs. This breaks tools like CKEditor.

From local testing, there are no negative side effects with not forcing focus on open.

Closes #3538

Without forcing focus false, the modal will not allow other modals to have focus for their inputs. This breaks tools like CKEditor.

From local testing, there are no negative side effects with not forcing focus on open.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.109% when pulling 165c6ea on tosbourn:patch-1 into 0ebbd85 on railsadminteam:master.

Copy link
Contributor

@codealchemy codealchemy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@codealchemy codealchemy merged commit 4609fc6 into railsadminteam:master Jul 12, 2022
mshibuya added a commit that referenced this pull request Jul 17, 2022
mshibuya added a commit that referenced this pull request Jul 17, 2022
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.

CKEditor modals don't work inside bootstrap modals
3 participants