Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

[Modal] Attempt to focus and focustrap on the first button or component not working

Open driosnav opened this issue 3 years ago • 0 comments

I am trying to implement a modal with focus trap using https://github.com/focus-trap/focus-trap. The modal of semantic UI in react is not accessible, so I am trying to this and put the focus in the a button that is component. the button itself is a html5 normal button. But I am not able to focus on the button. I had try the ref solution but still, the button is not focus inside the modal. Any help about this issue or it's possible to do that?

I was following this issue, but it seems to be working only for inputs, not buttons.

driosnav avatar May 19 '22 21:05 driosnav