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

fix for inside of accordion #245

Open
kangfredy opened this issue Mar 27, 2024 · 0 comments
Open

fix for inside of accordion #245

kangfredy opened this issue Mar 27, 2024 · 0 comments

Comments

@kangfredy
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-tailwindcss-datepicker/dist/index.esm.js b/node_modules/react-tailwindcss-datepicker/dist/index.esm.js
index 0e9bfa9..d7228a7 100644
--- a/node_modules/react-tailwindcss-datepicker/dist/index.esm.js
+++ b/node_modules/react-tailwindcss-datepicker/dist/index.esm.js
@@ -1620,7 +1620,6 @@ const Input = (e) => {
                     (window.innerWidth > 767 &&
                         window.screen.height - 100 < div.getBoundingClientRect().bottom &&
                         !popoverOnDown)) {
-                    div.classList.add("bottom-full");
                     div.classList.add("mb-2.5");
                     div.classList.remove("mt-2.5");
                     arrow.classList.add("-bottom-2");
@@ -1850,7 +1849,6 @@ const Datepicker = ({ primaryColor = "blue", value = null, onChange, useRange =
             div.classList.add("translate-y-4");
             div.classList.add("opacity-0");
             setTimeout(() => {
-                div.classList.remove("bottom-full");
                 div.classList.add("hidden");
                 div.classList.add("mb-2.5");
                 div.classList.add("mt-2.5");

This issue body was partially generated by patch-package.

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