ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[SF] Provide class name switch to use browser default scrollbar

Open GongRichard opened this issue 3 years ago • 1 comments

Feature Request Description

For SF product, we need to use browser default scrollbar. For sapui5 https://sapui5.hana.ondemand.com/resources/sap/ui/documentation/sdk/index.html?sap-ui-xx-sample-id=sap.m.sample.Dialog&sap-ui-xx-sample-origin=&sap-ui-xx-dk-origin=https%3A%2F%2Fsapui5.hana.ondemand.com&sap-ui-theme=sap_fiori_3 , they provide html root class name “sapUiNativeScrollbars” to use browser native scrollbar. I remember in previous ui5-wc version, there also has this class name switch. Would you please add this switch back?

Proposed Solution

Add html root class name “sapUiNativeScrollbars” to use browser native scrollbar image

Priority

  • [ ] Low
  • [ ] Medium
  • [x] High
  • [ ] Very High

A clear and concise description of the impact/urgency of the required feature.

Stakeholder Info (if applicable)

  • Organization: SAP SuccessFators
  • Business impact: {...}

GongRichard avatar Jun 22 '22 11:06 GongRichard

Hello Colleagues,

Do you plan on implementing this feature?

Best Regards, Tsanislav

tsanislavgatev avatar Jun 22 '22 13:06 tsanislavgatev

Hi @GongRichard ,

We added new CSS style class .ui5-content-native-scrollbars which removes custom style of the scrollbar.

You can check the linked PR for more information how to use it.

Regards, Nayden

nnaydenow avatar Aug 22 '22 10:08 nnaydenow