Skip to content

[Popover] Add Threshold attributes [v3]#1384

Merged
vnbaaij merged 2 commits intodevfrom
users/dvoituron/popover-threshold
Jan 26, 2024
Merged

[Popover] Add Threshold attributes [v3]#1384
vnbaaij merged 2 commits intodevfrom
users/dvoituron/popover-threshold

Conversation

@dvoituron
Copy link
Collaborator

[Popover] Add Threshold attributes.

To reply to this issue #1379, we need to add two new attributes: VerticalThreshold and HorizontalThreshold.
In this way, you can set limit margins to automatically reposition the Popover component.

Example.

<FluentPopover Style="width: 300px;" VerticalThreshold="170" AnchorId="myPopoverButton" @bind-Open="_visible">
   ...
</FluentPopover>
Popover-Updated.mp4

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-pebble-0dc79cb03-1384.westeurope.3.azurestaticapps.net

@dvoituron dvoituron changed the title [Popover] Add Threshold attributes. [Popover] Add Threshold attributes [v3] Jan 25, 2024
@dvoituron dvoituron added the v3 label Jan 25, 2024
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-pebble-0dc79cb03-1384.westeurope.3.azurestaticapps.net

@vnbaaij vnbaaij enabled auto-merge (squash) January 26, 2024 08:18
@vnbaaij vnbaaij merged commit 91de72f into dev Jan 26, 2024
@vnbaaij vnbaaij deleted the users/dvoituron/popover-threshold branch January 26, 2024 08:18
@vnbaaij vnbaaij linked an issue Jan 27, 2024 that may be closed by this pull request
vnbaaij added a commit that referenced this pull request Jan 30, 2024
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Can't access content displayed off the screen in FluentPopover

2 participants