-
Notifications
You must be signed in to change notification settings - Fork 53
Conversation
Should we use the |
@@ -28,7 +28,7 @@ export default { | |||
...solidBorder(variables.primaryBorderColor), | |||
}), | |||
borderRadius: pxToRem(4), | |||
overflow: 'hidden', | |||
// overflow: 'hidden', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be verified - it breaks submenu when oveflow is hidden
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the PR that added it: #360 Will sync with @Bugaa92 for finding alternative solution for the cropped borders, I have new ideas.
-small fixes in the styles and the way the submenu is generated
…be done for enter/space) -applied consistent (left-right) navigation for horizontal menu and (up-down) navigation for vertical menu
# Conflicts: # src/components/Menu/Menu.tsx # src/components/Menu/MenuItem.tsx
-implemented enter key on leaf menu item to close the menu
-fixed issue with the condition for the active prop
-added correct typings to the menuStyles
…ild menu items and the last child menu items in vertical menu
defaultColor: siteVars.gray06, | ||
defaultBackgroundColor: siteVars.brand, | ||
typePrimaryActiveBorderColor: siteVars.white, | ||
color: siteVars.gray06, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
const { active, menu } = this.props | ||
if (menu) { | ||
if (doesNodeContainClick(this.menuRef.current, e)) { | ||
// submenu was clicked => close it and propagate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for comments, very helpful ones!
* implement caching strategy * adjust file name of scan marker * add yarn lock hash to marker file name * add change to build config * fix dir name in build config * improve caching strategy * just restore cache * temporary remove lint and tests * try * fix caching strategy * try * try * try * try epoch * create file on scan * return lint and test steps * introduce comment for the caching approach taken * remove unnecessary function * simplify expression for marker file name
* feat(text): color prop * addressed comments * changelog * amended changelog * made text color override other props that change color
* feat(header): header and header description color prop * changelog * fixed examples * addressed PR comments
* introduce offset prop * correct description of supported values * update changelog * introduce fix * ensure RTL is properly applied to complex offset expressions * rename method to make logic more expressive * add unit tests * remove unnecessary grid props from offset example * update changelog
* Reflect which item is selected in list * Make list derived from autocontrolled component * small fix * Update ListExampleSelection.tsx * Update ListExampleSelection.shorthand.tsx * Small improvement * Rename *ItemIndex -> *Index * Names refactoring * Minor improvements * update changelog * Add onSelectedIndexChange * Add some tests * Small improvements afer CR * Small improvements afer CR * Small improvements afer CR * create focus handler when List is constructed * fix changelog * changelog
* docs(Examples): allow to use TS in examples * add jsdoc * fix typo * rename file * add comment * `createExample` to `createExampleSourceCode` * rework with `path.relative()` * remove JSON files on remove tsx * create getRelativePathToSource function
# Conflicts: # CHANGELOG.md
-removed TODO comment
# Conflicts: # CHANGELOG.md
Based on two previous menu/submenu PRs. Fixes #542
Missing things:
Update by @mnajdova
Some questions:
uniqid
. Are we ok with this?Ref
wrapper around theElementType
. How can be tackle this? Is the wrapper maybe causing this?The questions were resolved thanks to @layershifter
All accessibility requirements are added, let me know if you find some issue with it.