Skip to content

Caret of text input element is appearing and disappearing incorrectly when focusing with mouse #41920

@stevennovaryo

Description

@stevennovaryo

Describe the bug:
Caret of <input> element doesn't appear on focus and stays after a unfocusing the element (blur).

data_text_html._input_.2026-01-15.15-05-42.mp4

Note that <textarea> seems to be working fine.

To Reproduce:
Open data:text/html,<input>:

  1. Focus on the input with mouse and notice that the caret is nowhere to be seen.
  2. Unfocus by clicking empty space and notice that the caret is still there.

Platform:
Platform independent bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions