-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ActionBar): implement useOverflowItems hook in ActionBar (#6775
) * refactor(useFocus): refactor repeated useEffect code * refactor(ActionBar): implement useOverflowItems hook * fix(PageHeader): resolve ActionBar min and max width * refactor(ActionBar): refactor onChange callback * refactor: move few looping into the return method * fix(ActionBar): provide a dummy element to get offset width * chore: remove useEffect from story * refactor: rename maxwidth to remainingWidth * fix: resolve flickering issue * fix: resolve overflow issue with maxItems * test: include id attribute for actionBarItem * test: correct test cases * test(PageHeader): correct the test case * test: remove console.log * chore: remove commented code * refactor: implement offsetRefHandler callback * chore: manually run yarn format * chore: resolve format issue * chore: resolve format issue * chore: resolve format issue * refactor: remove unwanted refs and effects * refactor: refactor hiddenItems return
- Loading branch information
Showing
7 changed files
with
161 additions
and
235 deletions.
There are no files selected for viewing
This file contains 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 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 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 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
Oops, something went wrong.