-
Notifications
You must be signed in to change notification settings - Fork 103
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
feat(ObjectPage): Add 'Pin-Header' button #354
Conversation
…icky-header-button
…icky-header-button
…icky-header-button
…icky-header-button
…icky-header-button
The mentioned bugs should be now fixed - ready for re-review. |
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.
- ObjectPage breaks when you remove selectedSectionId
- ObjectPage should scroll to subsection if you pass 5.2 to selectedSubSectionId
@@ -17,6 +17,17 @@ export const Scroller = forwardRef((props: Props, ref: RefObject<IScroller>) => | |||
|
|||
const elements = useRef([]); | |||
|
|||
useEffect(() => { |
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.
The Scroller is basically deprecated. No need to introduce breaking changes here.
Lets add a deprecation notice to the Scroller.
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.
done
contentScrollContainer: { | ||
position: 'relative' | ||
'&::-webkit-scrollbar': { | ||
backgroundColor: '#ffffff', |
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.
Theming Parameters? Pretty sure we didn´t have them in place before, but shouldn´t we actually?
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.
done
|
||
const anchorBarHeight = anchorBarRef.current?.offsetHeight ?? 33; | ||
|
||
// const totalHeaderHeight = |
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.
still needed?
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.
no :)
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.
All my mentioned issues were addressed 👍
This PR includes a full refactoring of the ObjectPage using native CSS capabilities instead of custom scroll handlers. This might lead to problems in IE11 and needs to be tested as well.
The Anchor Bar was replaced with the UI5 Web Component TabContainer in order to improve accessibility and RTL. --> #345
Closes #334
Closes #248