You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
545925763
changed the title
preline v3.0.0 Modal pops up without a mask and Advanced Datepicker cannot be clicked
preline v3.0.0 Modal pops up without a mask and Advanced Datepicker can't be clicked
Mar 9, 2025
Summary
preline v3.0.0 Modal and Advanced Datepicker
Steps to Reproduce
vite.config.ts
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [
tailwindcss(),
],
optimizeDeps: {
include: ['preline', 'lodash', 'vanilla-calendar-pro']
}
})
style.css
@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));
/* Preline UI */
@import "../node_modules/preline/variants.css";
@import "../node_modules/preline/src/plugins/datepicker/styles.css";
/* Plugins */
@plugin "@tailwindcss/forms";
@plugin "@tailwindcss/aspect-ratio";
<title>Vite App</title>main.js
import 'preline';
import 'lodash';
import 'vanilla-calendar-pro';
index.html
<!doctype html>
Open modal
Modal title
CloseThis is a wider card with supporting text below as a natural lead-in to additional content.
Demo Link
https://preline.co/docs/modal.html
Expected Behavior
No response
Actual Behavior
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: