-
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
Dialog Scrollbar Size Issue #2887
Comments
Hello Tereza Chobanova, This is regarding to bug #2887 i didnt get you actually . as its being the shadow element we are able to set the style to dialog. how can we achieve this. |
Hello @gopusrikanth04 , Unfortunately, you cannot achieve it as now there is no possibility to add styles with pseudo elements in the dialog. Regards, |
Hello @terezamch, just fyi, to forward the issue to the responsible team you have to change the Projects to "Maintenance - Topic RD", I already did it. BR, ilhan. |
Hello @SAP/ui5-webcomponents-topic-rd this incident has been forwarded to you. |
Hello @gopusrikanth04 in the next release (RC.14) or with "next" tag version that will come out in few days, you will be able to customize the scrollbar as follows <ui5-dialog id="msg-dialog" header-text="Message dialog" style="--sapScrollBar_Dimension: 20px"> Check out the change #3067 to see what CSS Variables are exposed. |
Thank You ilhan orhan.
Will it be applied to both horizontal and vertical scrollbar?
Let's say I have a horizontal scrollbar for dialog then applying
--sapScrollBar_Dimension will be applied to the height of the scrollbar or
to the width of the scroll bar. As for the horizontal scrollbar it should
be applied to height property and for vertical scrollbar it should be
applied for width.
make me correct if i'm wrong.
Thanks and regards
Srikanth Gopu
…On Thu, Apr 1, 2021 at 12:17 PM ilhan orhan ***@***.***> wrote:
Hello @gopusrikanth04 <https://github.com/gopusrikanth04> in the next
release (RC.14) or with "next" tag version that will come out in few days,
you will be able to customize the scrollbar as follows
<ui5-dialog id="msg-dialog" header-text="Message dialog" style="--sapScrollBar_Dimension: 20px">
Check out the change #3067
<#3067> to see what CSS
Variables are exposed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2887 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALH5DYJP53IT7F43G6RRAULTGQJJNANCNFSM4YMISOVA>
.
--
Thanks and Best Regards,
*Srikanth Gopu*
|
@TeodorTaushanov could you answer the question by @gopusrikanth04 |
Hi @gopusrikanth04, --sapScrollBar_Dimension will be applied to the width or to the height depending on the scrollbar orientation. ::-webkit-scrollbar:horizontal { ::-webkit-scrollbar:vertical { Best, |
Bug Description
To reproduce
Steps to reproduce the behavior:
height: 600px
::-webkit-scrollbar {
width: 7px !important;
height: 7px !important;
}
Isolated example
https://codesandbox.io/s/wispy-leaf-ljisu?file=/src/App.js
Expected behavior
Dialog Scroll bar width is small
Screenshots
Context
Priority:(optional) (Low, Medium, High or Very High)
Very High
Business impact: (mandatory for "Very High")
The text was updated successfully, but these errors were encountered: