-
Notifications
You must be signed in to change notification settings - Fork 459
[Overflow] Add refresh method, add VisibleOnLoad parameter #2236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
88ebac9
- Rename functions in js to be in line with rest of scripts
vnbaaij 9623064
Merge branch 'dev' into users/vnbaaij/overflow-work
vnbaaij 67d9593
Merge branch 'dev' into users/vnbaaij/overflow-work
vnbaaij b6f8db1
- Clear out IssueTester
vnbaaij 5c74865
Merge branch 'users/vnbaaij/overflow-work' of https://github.com/micr…
vnbaaij fb78a32
Merge branch 'dev' into users/vnbaaij/overflow-work
vnbaaij 815334c
Merge branch 'dev' into users/vnbaaij/overflow-work
vnbaaij c178a28
Process review comments and extend example
vnbaaij 529cc03
Merge branch 'dev' into users/vnbaaij/overflow-work
vnbaaij File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 39 additions & 9 deletions
48
examples/Demo/Shared/Pages/Overflow/Examples/OverflowDefaultExample.razor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,41 @@ | ||
| <div style="background-color: var(--neutral-layer-4); overflow: auto; resize: horizontal; padding: 10px;"> | ||
| <FluentOverflow Style="width: 100%;"> | ||
| <FluentOverflowItem><FluentBadge>Blazor</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Microsoft</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Azure</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>DevOps</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Framework</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Office</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Installation</FluentBadge></FluentOverflowItem> | ||
| </FluentOverflow> | ||
| <FluentOverflow Style="width: 100%;"> | ||
| <FluentOverflowItem><FluentBadge>Blazor</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Microsoft</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Azure</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>DevOps</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Framework</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Office</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Installation</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Blazor</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Microsoft</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Azure</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>DevOps</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Framework</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Office</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Installation</FluentBadge></FluentOverflowItem> | ||
| </FluentOverflow> | ||
| </div> | ||
| <p> | ||
| With below example the <code>VisibleOnLoad</code> parameter is set to false. | ||
| Make sure the screen dimension is small enough to show an overflow badge with count. | ||
| Then refresh the page to see the difference between this example and the one above | ||
| </p> | ||
| <div style="background-color: var(--neutral-layer-4); overflow: auto; resize: horizontal; padding: 10px;"> | ||
| <FluentOverflow Style="width: 100%;" VisibleOnLoad="false"> | ||
| <FluentOverflowItem><FluentBadge>Blazor</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Microsoft</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Azure</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>DevOps</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Framework</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Office</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Installation</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Blazor</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Microsoft</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Azure</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>DevOps</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Framework</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Office</FluentBadge></FluentOverflowItem> | ||
| <FluentOverflowItem><FluentBadge>Installation</FluentBadge></FluentOverflowItem> | ||
| </FluentOverflow> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.