Merge 4054ff71f8
into c21a58f2fb
This commit is contained in:
commit
587c6fda0e
|
@ -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>`,
|
||||
}),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue