Back to Clerk

`userButtonBox` is now a child of `userButtonTrigger`

packages/upgrade/src/versions/core-2/common/userbuttontrigger-userbuttonbox-invert.md

latest471 B
Original Source

The parent-child relationship of the two elements userButtonTrigger and userButtonBox has been swapped. Previously, userButtonTrigger was nested inside of userButtonBox, and now userButtonBox is nested inside of userButtonTrigger. This change resolves some usability issues in <UserButton />. If you are applying style customization to either of these elements, your customizations may need to be adjusted.