Skip to content

DOC-3150: Context forms used to disappear if their input were disabled in the onSetup API#3644

Merged
abhinavgandham merged 2 commits intofeature/7.7.1/DOC-3150from
feature/7.7.1/DOC-3150_TINY-11890
Mar 4, 2025
Merged

DOC-3150: Context forms used to disappear if their input were disabled in the onSetup API#3644
abhinavgandham merged 2 commits intofeature/7.7.1/DOC-3150from
feature/7.7.1/DOC-3150_TINY-11890

Conversation

@abhinavgandham
Copy link

@abhinavgandham abhinavgandham commented Mar 4, 2025

Ticket: DOC-3150

Site: Staging branch

Changes:

Pre-checks:

  • Branch prefixed with feature/<version>/, hotfix/<version>/, staging/<version>/, or release/<version>/.

Review:

  • Documentation Team Lead has reviewed

@abhinavgandham abhinavgandham requested review from a team, kemister85 and soritaheng as code owners March 4, 2025 00:38
@abhinavgandham abhinavgandham requested review from EkimChau, MitchC1999 and lorenzo-pomili and removed request for a team March 4, 2025 00:38
Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>

Previously, an issue was identified where disabling a context form's input in the `onSetup` function caused the form to disappear due to focus being set on a non-focusable element.

In {productname} {release-version}, this issue has been resolved by ensuring that the fallback focus is directed to a focusable element. As a result, even when the input is disabled, the focus remains intact, preventing the context form from disappearing.
Copy link
Contributor

Choose a reason for hiding this comment

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

the focus remains intact

I'm not entirely sure about this sentence (but I'm not a native English speaker so I could be completely wrong 😅 ), maybe I would say that the focus now is moved on a valid element, meaning a focusable element, saying that the focus remains intact sounds to me like it doesn't move at all, but I repeat I'm not a native English speaker so I could misunderstand the nuance of this sentence.

For the rest good job 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Just a suggestion, if we want to update this before we ship it...

Suggested change
In {productname} {release-version}, this issue has been resolved by ensuring that the fallback focus is directed to a focusable element. As a result, even when the input is disabled, the focus remains intact, preventing the context form from disappearing.
In {productname} {release-version}, this issue has been resolved by ensuring that the fallback focus is directed to a focusable element. As a result, even when the input is disabled, the focus is properly redirected, preventing the context form from disappearing.

@abhinavgandham abhinavgandham merged commit 7fc4f89 into feature/7.7.1/DOC-3150 Mar 4, 2025
4 checks passed
@abhinavgandham abhinavgandham deleted the feature/7.7.1/DOC-3150_TINY-11890 branch March 4, 2025 06:39
@abhinavgandham abhinavgandham added the upcoming release Documentation for features currently under development/QA label Mar 5, 2025
@abhinavgandham abhinavgandham added this to the TinyMCE 7.7.1 milestone Mar 5, 2025
kemister85 added a commit that referenced this pull request Mar 5, 2025
#3637)

* DOC-3150: TinyMCE 7.7.1 Release Documentation and Community Changelog.

* DOC-3150: Skin UI content CSS was truncated when bundling, causing CSS styles to be missing. (#3638)

* DOC-3150: Skin UI content CSS was truncated when bundling, causing CSS styles to be missing.

* Update modules/ROOT/pages/7.7.1-release-notes.adoc

Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>

---------

Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>

* Update modules/ROOT/pages/7.7.1-release-notes.adoc

* Updated changelog with 7.7.1 entries.

* DOC-3150: Context forms used to disappear if their input were disabled in the `onSetup` API (#3644)

* DOC-3150: Update release notes for 7.7.1 to include security fixes and accompanying changes.

* DOC-3150: update nav.adoc file to include server-side changes.

* Update modules/ROOT/pages/7.7.1-release-notes.adoc

* Removed headings that are not needed.

---------

Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>
kemister85 added a commit that referenced this pull request Mar 5, 2025
* DOC-3149: TinyMCE 7.7.1 Release Documentation.

* DOC-3150: TinyMCE 7.7.1 Release Documentation and Community Changelog. (#3637)

* DOC-3150: TinyMCE 7.7.1 Release Documentation and Community Changelog.

* DOC-3150: Skin UI content CSS was truncated when bundling, causing CSS styles to be missing. (#3638)

* DOC-3150: Skin UI content CSS was truncated when bundling, causing CSS styles to be missing.

* Update modules/ROOT/pages/7.7.1-release-notes.adoc

Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>

---------

Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>

* Update modules/ROOT/pages/7.7.1-release-notes.adoc

* Updated changelog with 7.7.1 entries.

* DOC-3150: Context forms used to disappear if their input were disabled in the `onSetup` API (#3644)

* DOC-3150: Update release notes for 7.7.1 to include security fixes and accompanying changes.

* DOC-3150: update nav.adoc file to include server-side changes.

* Update modules/ROOT/pages/7.7.1-release-notes.adoc

* Removed headings that are not needed.

---------

Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>

---------

Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upcoming release Documentation for features currently under development/QA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants