Skip to content

Commit

Permalink
Restore bubblesVirtually.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Sep 11, 2024
1 parent 6bca893 commit 4fbd59f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/editor/src/components/header/back-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ const BackButton = Fill;
const BackButtonSlot = () => {
const fills = useSlotFills( slotName );

return <Slot fillProps={ { length: ! fills ? 0 : fills.length } } />;
return (
<Slot
bubblesVirtually
fillProps={ { length: ! fills ? 0 : fills.length } }
/>
);
};
BackButton.Slot = BackButtonSlot;

Expand Down

0 comments on commit 4fbd59f

Please sign in to comment.