Fix "in contacts" tooltip exceeding desired boundary

See [#4907][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/4907
This commit is contained in:
Will Golledge 2021-10-18 17:10:22 -05:00 committed by Evan Hahn
parent 54974b377a
commit 2cd02855fc
5 changed files with 65 additions and 4 deletions

View file

@ -81,6 +81,26 @@ story.add('Sticky', () => (
</Tooltip>
));
story.add('With Applied Popper Modifiers', () => {
return (
<Tooltip
{...createProps({
direction: TooltipPlacement.Bottom,
})}
popperModifiers={[
{
name: 'offset',
options: {
offset: [80, 80],
},
},
]}
>
{Trigger}
</Tooltip>
);
});
story.add('Dark Theme', () => (
<Tooltip
{...createProps({