Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Unable to style action button in Alert component #1230

@codepretty

Description

@codepretty

Bug Report

Steps

I am unable to add focus styles to the Alert action button, because isFromKeyboard is not recognized

Extra info

@jurokapsiar: The problem is that isFromKeyboard is not in the state of Alert, it is in the state of Button. How can she style the button based on its state? Do we need to add the state to Alert or is there a better way?

Sounds like we need to add isFromKeyboard to the state to be able to detect and style appropriately.

Metadata

Metadata

Assignees

Labels

vstsPaired with ticket in vsts

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions