-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
List items not being rendered while keyboard navigation in production (with preact) #208
Comments
Seems like the issue was with preact, in prod builds I was swapping react with preact and that was causing some issue. For anyone else facing this issue, you probably have the same scenario so don't swap with preact for the time being is the solution for me to fix it on production. |
Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi @timc1, firstly thanks for creating this awesome library, totally love it. I am integrating this to my site as well and found some issues with the styling when running a production build.
kbar.demo.mp4
In the first tab, I am running
next dev
command and here navigation both via keyboard and mouse scroll works perfectly fine but on the second tab which is running thenext build
andnext start
command, in that case the styling seems to be breaking.I am doing the pretty standard configuration for kbar and using tailwindcss for styles.
This is what the ResultItem looks like,
I have been trying to debugging this myself but not able to come to any conclusion. one thing I noticed was in production build the
height
value here keeps updating when scrolling (which is not the case ofnext dev
runs)The text was updated successfully, but these errors were encountered: