#8154·grommet

Layer - using autofocus within a Layer is broken

Author: jcfilbenCreated Sep 24, 2026Updated Sep 24, 2026
Labelsbug

If I try to autofocus something within a Layer it doesn't work. It looks like autofocus functionality within Layer may have broken in v2.48.0 of Grommet.

Codesandbox here showing the behavior in v2.47.0, if you switch the dependency to v2.48.0 it breaks.

Possibly related to this PR: https://github.com/grommet/grommet/pull/7709