This commit is contained in:
Will Martin 2024-04-25 22:51:59 +00:00 committed by GitHub
commit 587c6fda0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

View File

@ -69,3 +69,17 @@ export const ClosedMenu: Story = {
</bit-menu>`,
}),
};
export const ManyItems: Story = {
render: (args) => ({
props: args,
template: `
<div class="tw-h-40">
<button bitButton buttonType="secondary" [bitMenuTriggerFor]="myMenu">Open menu</button>
</div>
<bit-menu #myMenu>
${`<a href="#" bitMenuItem>Foobar</a>`.repeat(100)}
</bit-menu>`,
}),
};