Skip to content

Adds focus: false to newly created modal dialogs#3539

Merged
codealchemy merged 1 commit into
railsadminteam:masterfrom
tosbourn:patch-1
Jul 12, 2022
Merged

Adds focus: false to newly created modal dialogs#3539
codealchemy merged 1 commit into
railsadminteam:masterfrom
tosbourn:patch-1

Conversation

@tosbourn

@tosbourn tosbourn commented Jul 8, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown

Coverage Status

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

@codealchemy codealchemy left a comment

Copy link
Copy Markdown
Contributor

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