6eDesign / svelte-calendar

A lightweight datepicker with neat animations and a unique UX.
https://6edesign.github.io/svelte-calendar/
MIT License
537 stars 89 forks source link

Calendar doesn't render properly in a built svelte app #124

Closed sridharraman closed 2 years ago

sridharraman commented 3 years ago

When I do a npm run build and run the built app, the calendar component doesn't load properly. There's a huge gap in the div after the button. The button is not clickable as well. I wonder if I am doing something wrong. The build is done through rollup.

Edit: The calendar works absolutely fine in dev environment.

6eDesign commented 3 years ago

Please provide a clear way to reproduce the issue you're seeing. There are many ways to build/run/develop a svelte application and there are various versions of dependencies (svelte-calendar and otherwise). I have not experienced the issue you're describing when implementing this calendar in svelte applications (neither in development or production builds).