It is nice that we can set which html elment should be FocusLock by provide a value in as prop - I'm very often use that to set FocusLock as a nav element. I think it would be nice to have a ability to set value for id attribute. It is necessary when you would like to set a aria-* atributes which needs an id.
It is nice that we can set which html elment should be
FocusLock
by provide a value inas
prop - I'm very often use that to setFocusLock
as anav
element. I think it would be nice to have a ability to set value forid
attribute. It is necessary when you would like to set aaria-*
atributes which needs anid
.