-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rich Text Editor | Fix for Editor's blinking caret disappearing issue in Firefox browser #1455
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vikisekarNI
reviewed
Aug 25, 2023
change/@ni-nimble-components-46b1fdfb-63b3-4a04-ac71-1124855a4e45.json
Outdated
Show resolved
Hide resolved
vikisekarNI
reviewed
Aug 25, 2023
vikisekarNI
reviewed
Aug 25, 2023
vikisekarNI
reviewed
Aug 25, 2023
vikisekarNI
reviewed
Aug 25, 2023
vikisekarNI
approved these changes
Aug 25, 2023
m-akinc
approved these changes
Aug 25, 2023
jattasNI
reviewed
Aug 28, 2023
aagash-ni
force-pushed
the
users/aagash/firefox-caret-issue
branch
2 times, most recently
from
August 29, 2023 12:49
a81799e
to
c7d71c2
Compare
jattasNI
approved these changes
Aug 29, 2023
packages/nimble-components/src/rich-text-editor/testing/rich-text-editor.pageobject.ts
Outdated
Show resolved
Hide resolved
jattasNI
approved these changes
Aug 30, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If @rajsite doesn't get to this by the time you resolve my feedback, I think it's ok to submit.
packages/nimble-components/src/rich-text-editor/tests/rich-text-editor.spec.ts
Outdated
Show resolved
Hide resolved
packages/nimble-components/src/rich-text-editor/testing/rich-text-editor.pageobject.ts
Outdated
Show resolved
Hide resolved
rajsite
approved these changes
Aug 30, 2023
…/firefox-caret-issue
…/ni/nimble into users/aagash/firefox-caret-issue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
🤨 Rationale
This PR contains workaround for resolves #1454 Firefox issue when the editor gets focused, the blinking caret will be visible until we click format buttons (Bold, Italic ...). But once any of the buttons are clicked, the editor internally has its focus but the blinking caret disappears.
Issue Link : #1454
👩💻 Implementation
Blur()
and settingfocus()
in the editor will make the caret re-appears when clicking the formatting buttons.🧪 Testing
✅ Checklist