Skip to content

[Tabs / Tab Title] Add setFocus methods to Tab components #13695

@macandcheese

Description

@macandcheese

monday.com sync: #11004608279

Check existing issues

Which Component

Tab, Tab Title

Description

As a user, I'd like to programmatically focus individual Tab Titles, as well as be able to focus the entire Tab component, which could setFocus on the appropriate Tab Title based on selected property.

Acceptance Criteria

The Tabs and Tab Title components have a public setFocus() method added that allows a developer user to programmatically focus the elements.

Relevant Info

No response

Example Use Case

As a developer user, I might want to programmatically close a Tab / Tab Title, and then setFocus on a newly (and also programmatically) selected Tab Title.

Priority impact

impact - p2 - want for an upcoming milestone

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (design)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ArcGIS KnowledgeIssues logged by ArcGIS Knowledge team members.Calcite (design)Issues logged by Calcite designers.c-tabIssues that pertain to calcite-tab componentsc-tab-titleIssues that pertain to the calcite-tab-title componentcalcite-componentsIssues specific to the @esri/calcite-components package.enhancementIssues tied to a new feature or request.estimate - 3A day or two of work, likely requires updates to tests.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestonep - mediumIssue is non core or affecting less that 60% of people using the library

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions