DynamicDialog: Add support for focusOnShow (like Dialog component) #13768
Labels
Status: Discussion
Issue or pull request needs to be discussed by Core Team
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: New Feature
Issue contains a new feature or new component request
Describe the feature you would like to see added
Add the possibilty to disable auto focus when DynamicDialog open with configuration.
Is your feature request related to a problem?
Some times i only have one button on my modal ( for example : close cross ) and the focus is automaticly set to it and it create focus css style to be triggered and look and feel is not good.
Describe the solution you'd like
Add a property to DynamicDialog configuration.
Like for Dialog component we can use focusOnShow property (default true).
Describe alternatives you have considered
I tried different workaround to disable the focus:
But none of this solutions look clean to me. It would be better if we can disable this behaviour with a simple property.
Additional context
No response
The text was updated successfully, but these errors were encountered: