UI5 / UI5/webcomponents

[Feature Request - DynamicPage]: support sticky content headers

Open
#9,258 3 comments 1 reaction 1 assignee View on GitHub

@jdichev is already working on this.

Since Jun 20, 2024.

Design Pending enhancement feature request TOPIC P UI5_WEBC_4_REACT
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Description

Feature Request Description

In UI5WCR we're currently replacing our implementation of the DynamicPage with the newly added ui5-dynamic-page web component. In the process of comparing the features of both components, we noticed that the only feature still missing to be feature-complete, is supporting sticky headers inside the content.
We also already have found a way to document a helper that enables this feature, but since we have to, i.a., access the shadow root, wait for the custom-element to be defined and for the content to be available, it's hard to maintain and could break with each update.

That's why we would like the DynamicPage component to support this feature out of the box.

Since we're a React library, our helper is a React hook that'll only work with React, but I tried to refactor it to use plain JS. Here you can find an example, maybe it helps :)

Proposed Solution

Support content elements to be sticky, meaning they should stick to the visible header of the DynamicPage.

Proposed Alternatives

No response

Organization

UI5WCR

Additional Context

No response

Priority

None

Privacy Policy
  • I’m not disclosing any internal or sensitive information.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.