-
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
[SF][File Upload]: Mouse cursor was not displayed as clickable palm for mouseover #7794
[SF][File Upload]: Mouse cursor was not displayed as clickable palm for mouseover #7794
Comments
Hi @yuyuCream there was only some CSS/props missing in the example, so this is not a bug with the component. The linked PR will remove the example, as it's not showing a typical use-case of the |
hi @Lukas742 : it is not the example missing css, but is the FileUploader. You can inspect the shadow DOM, the css property for the file element (input element with type file) is cursor: pointer does not work for chrome, the normal way is setting pseudo element. Like input[type="file"]::-webkit-file-upload-button { cursor:pointer; }... But when I check the pseudo element produced by the component, the cursor is default, So, no matter what kind of element I put under FileUploader, I can not make sure the cursor to pointer since the file element should on the upper layer to react to the user click event. And the only way to resolve this we have to write CSS into shadow DOM. So please have a look to this component. Regards |
Hi @jiawang1 thanks for clarifying. I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository. Hi colleagues, |
Hi @SAP/ui5-webcomponents-topic-b, Could you please process the issue? Issue is reproducible in the storybook samples of ui5-webcomponents. |
Describe the bug
Mouse cursor was not displayed as clickable palm for mouseover
FileUpload.mov
Isolated Example
No response
Reproduction steps
Expected Behaviour
Mouse cursor should be displayed as clickable palm when hover on the "File Upload"
Screenshots or Videos
FileUpload.mov
UI5 Web Components for React Version
1.21.2
UI5 Web Components Version
1.21.2
Browser
Chrome
Operating System
mac
Additional Context
I am from SAP Successfactors and this issue has resulted in several customer incidents.
Relevant log output
No response
Declaration
The text was updated successfully, but these errors were encountered: