Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AagashRaaj committed Aug 25, 2023
1 parent 709caea commit 4e6c4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nimble-components/src/rich-text-editor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export class RichTextEditor extends FoundationElement {

// In Firefox browser, Once the editor gets focused, the blinking caret will be visible until we click format buttons (Bold, Italic ...) in the Firefox browser (Changing focus).
// But once the any of the buttons clicked, the editor internally has its focus but the blinking caret disappears.
// As a workaround, manually trigerring blur and setting focus on editor will hepls making the caret re-appears.
// As a workaround, manually triggering blur and setting focus on editor will hepls making the caret re-appears.
// It seems like this issue in not fixed in firefox browser yet, Created Issue https://github.com/ni/nimble/issues/1454 tracks removal of this workaround.
private focusEditorInFirefoxEnv(): void {
const browserInfo = navigator.userAgent;
Expand Down

0 comments on commit 4e6c4a3

Please sign in to comment.