Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PlutoGrid always gains initial focus in single select mode, need autofocus control #133

Open
KaushikGupta007 opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@KaushikGupta007
Copy link

Description

When using PlutoGrid in PlutoGridMode.select, the grid automatically gains focus on initialization. This behavior is not always desirable. There should be an option to enable or disable autofocus.

Steps to Reproduce

  1. Set up PlutoGrid with PlutoGridMode.selectWithOneTap.
  2. Run the app, and observe that PlutoGrid immediately gets focus.
  3. There is no built-in way to disable this behavior.

Expected Behavior

  • There should be an option like autoFocus: false to prevent PlutoGrid from gaining focus automatically.

Current Behavior

  • PlutoGrid always gains initial focus in single select mode.

Additional Context

This issue affects user experience when using PlutoGrid in selection mode, as it might disrupt expected navigation flow. An option to control autofocus would improve flexibility.

@KaushikGupta007 KaushikGupta007 added the bug Something isn't working label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant