Skip to content

Language dropdown opens but closes instantly in Firefox #29

@jshaptala

Description

@jshaptala

Discovered that on Firefox, when the spellchecker is used inside a Froala editor that's in a bootstrap modal, the dropdown doesn't want to persist.

Sometimes it will flash open but close instantly. This behaviour only happens on Firefox, and only if the popover is on a modal. Focus is set to the Froala editor once the modal is opened, and we don't force any focus after that.

dropdown

The component is then simply loaded in with the configs:

<froala v-if="showEditor" ref="froala" :tag="'textarea'" :config="froalaConfig" v-model="email.body_html"></froala>

The webspellchecker is then initialized with:

WEBSPELLCHECKER.init({
    container: this.$refs.froala.$el
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions