-
Notifications
You must be signed in to change notification settings - Fork 273
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
[BUG][SF][ui5-list] load-more event does not work, if I only set max-height to ui5 list #2882
Comments
Hello @sfsf-xweb-sh is it possible to use an absolute height for the time being. When do you need the fix at the latest? |
Hi @ilhan007 Thanks for your reply and solution. Best Regards |
Similar to the ui5-table, now the ui5-list provides growing property with 3 available options: Button, Scroll, None. As a side effect, it allows developers to set "max-height, overflow: auto" and the "load-more" still working as expected, fixing the referenced SF request #2882. Previously not possible as the List used to listen for the "scroll" of its internal container, which could not be influenced by these external styles. FIXES: #2882 BREAKING_CHANGES: The "infiniteScroll" property has been removed, use growing="Scroll" instead.
Similar to the ui5-table, now the ui5-list provides growing property with 3 available options: Button, Scroll, None. As a side effect, it allows developers to set "max-height, overflow: auto" and the "load-more" still working as expected, fixing the referenced SF request #2882. Previously not possible as the List used to listen for the "scroll" of its internal container, which could not be influenced by these external styles. FIXES: #2882 BREAKING_CHANGES: The "infiniteScroll" property has been removed, use growing="Scroll" instead.
Please check this PR feat(ui5-list): introduce "growing" property #2950 it will be applied in the next release. It introduces a breaking change, instead of infinite-scroll, you would need to set growing="Scroll" fro growing upon scroll, or growing="Button" to use "Load more button". Both ways you will get the load-more event as previous. But, now you would be able to set max-height as we refactored the List. |
Similar to the ui5-table, now the ui5-list provides growing property with 3 available options: Button, Scroll, None. As a side effect, it allows developers to set "max-height, overflow: auto" and the "load-more" still working as expected, fixing the referenced SF request #2882. Previously not possible as the List used to listen for the "scroll" of its internal container, which could not be influenced by these external styles. FIXES: #2882 BREAKING_CHANGES: The "infiniteScroll" property has been removed, use growing="Scroll" instead.
Dear colleagues,
I am from SuccessFactors Web Experience Shanghai team. My name is hubery and this account is our team account
Bug Description
Version: 0.29.4
If I only set max-height to ui5 list, load-more event does not work. ( I have already set infinite-scroll attribute to io5-list )
Expected
If only max-height attribute is set to ui5-list, the load-more event can still work according to the actual height of ui5-list itself
The text was updated successfully, but these errors were encountered: