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

If the portalId is passed to the component, it starts experiencing visual lag in positioning the portal #5309

Open
mahavir-amoga opened this issue Jan 8, 2025 · 0 comments

Comments

@mahavir-amoga
Copy link

          > if z-index solution not working i suggest you to use `portalId` props instead date-picker component just put ` portalId="what-ever-id"` and your problem will be fixed

Only this worked for me:

<DatePicker
      portalId="my-popper"
      ...
    />

# In index.html

<style>
#my-popper {
     z-index: 100 !important;
}
</style>

Originally posted by @davidseek in #1252 (comment)

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

No branches or pull requests

1 participant