Skip to content
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

DateRangePicker icons do not appear #2204

Closed
jbr-core opened this issue Dec 13, 2021 · 4 comments
Closed

DateRangePicker icons do not appear #2204

jbr-core opened this issue Dec 13, 2021 · 4 comments

Comments

@jbr-core
Copy link

jbr-core commented Dec 13, 2021

What version of rsuite are you using?

5.2.4

What version of React are you using?

17.0.2

What version of TypeScript are you using (if any)?

No response

What browser are you using?

Chrome, Firefox

Describe the Bug

"caretComponent" property of "PickerToggle" has been deprecated. Use "caretAs" instead.

Expected Behavior

import DateRangePicker from 'rsuite/DateRangePicker';
import 'rsuite/dist/rsuite.min.css'

return (

<DateRangePicker />

)

To Reproduce

No response

@SevenOutman
Copy link
Member

Hi @jbr-core, I couldn't re-produce this issue. The icon seems to be showing as expected.
https://codesandbox.io/s/thirsty-neumann-yw82e?file=/src/index.js

image

@jbr-core
Copy link
Author

I don't really understand then why it doesn't show them to me, but what is the reason for the message?

I leave in abjust some images of the inconvenience

image

image

@SevenOutman
Copy link
Member

I don't really understand then why it doesn't show them to me

Could you provide a CodeSandbox demo? You may use this template https://codesandbox.io/s/rsuite-template-5vq6zo2z5l

but what is the reason for the message?

The message should have been dismissed, but it does not actually affect functionality.

@jbr-core
Copy link
Author

jbr-core commented Feb 1, 2022

I'm working with an ERP called ODOO and it seems that in its web module all the attribute aria-hidden="true" hides it. This is to handle the issue of modals.

My solution was to display the svgs that contain that attribute as follows

image

With this I was able to solve my problem, sorry for the inconvenience caused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants