Skip to content

Some textarea functions don't work on code-input elements #179

@WebCoder49

Description

@WebCoder49

In Firefox v140.0.2, trying to run (code-input element).setRangeText or .setSelectionRange methods causes a console error:

Uncaught TypeError: 'setSelectionRange' called on an object that does not implement interface HTMLTextAreaElement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreA bug/feature for the core code-input.js/code-input.css filesbugSomething isn't workingpriority:high

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions