Skip to content

[Bug]: Add role from Manage Roles page does not place focus in the Name field #3098

Open
@robotdan

Description

@robotdan

What happened?

In all forms in the FusionAuth admin UI, the expectation is that the focus is on the first field in the form that we wish the user to utilize. Or the most likely field to be used first.

When you open the Add role dialog from the Manage Roles page in FusionAuth admin, no focus is placed in the form.

This form does have autofocus="autofocus" on the correct field, however because this form is loaded via AJAX, the browser will not automatically place focus in this field.

I don't know if we should be manually setting focus using JavaScript on dialog open, or if this is just a browser issue.

  • Brave on macOS - no focus
  • Safari on macOS - has focus correctly
  • Firefox on macOs - no focus

Version

1.57.1

Affects Versions

No response

Alternatives / Workarounds

No response

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions