Skip to content

Polling breaks the browsers auto-completion #2477

@saeedvaziry

Description

@saeedvaziry

@inertiajs/react Version

2.0.17

Backend stack (optional)

Laravel 12.x
PHP 8.4

Describe the problem

When setting polling like usePoll(5000) and completing a form in the same page, the auto-completion of the browser gets closed when it renders after a poll again.

Image

Steps to reproduce

  1. Set a usePoll(5000) in the page
  2. Have a text input that has auto completion
  3. Try to complete the input using browsers auto-completetion and wait for the next poll before you select any item

Metadata

Metadata

Assignees

No one assigned

    Labels

    reactRelated to the react adapter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions