Skip to content

[bug]: TextArea autoFocus is not working properly in PopoverContent #7854

@AdityaJ2305

Description

@AdityaJ2305

Describe the bug

I'm using TextArea inside the PopoverContent despite adding onOpenAutoFocus={(e) => e.preventDefault()} to popover content the autofocus is not working for TextArea it jumps the cursor to left of the input text , It works well for Input keeping every prop same

video:

Screen.Recording.2025-07-19.at.6.56.24.PM.mov

Affected component/components

TextArea , PopoverContent

How to reproduce

I think it can be produced by writing similar code below in ss

Image

Codesandbox/StackBlitz link

No response

Logs

System Info

Browser: Arc 
System: macOs

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions