Skip to content

How to prevent autosrolling to editor? #23

@KoKaLiNe

Description

@KoKaLiNe

I have an app with editor, and every time page loaded it scrolls me to editor, but i don't need to

I tried to add a prop focus to component with preventScroll: true , but it doesn't help. Is it possible to prevent autoscrolling?
<QuillEditor :value="quilValue" :options="quillOptions" :focus="{ preventScroll: true }" ref="quillEditor" />

More over @focus event doesnt fires up but dev tools said that document.activeElement is div.ql-editor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions