fix vue-sonner Toast implementation
if there are ever issues with dialogs and toasts together, you may want to add `pointer-events-auto` to the Toaster class https://github.com/unovue/shadcn-vue/blob/dev/apps/www/src/content/docs/components/sonner.md#sonner-with-dialog
This commit is contained in:
parent
6ffcc759cf
commit
5788b76000
2 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import Navbar from '@/components/layout/Navbar.vue'
|
|||
import Footer from '@/components/layout/Footer.vue'
|
||||
import ConnectionStatus from '@/components/nostr/ConnectionStatus.vue'
|
||||
import PasswordDialog from '@/components/nostr/PasswordDialog.vue'
|
||||
import { Toaster } from 'vue-sonner'
|
||||
import { Toaster } from '@/components/ui/sonner'
|
||||
import { useNostr } from '@/composables/useNostr'
|
||||
import { identity } from '@/composables/useIdentity'
|
||||
import { toast } from 'vue-sonner'
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import router from './router'
|
|||
import { i18n } from './i18n'
|
||||
import './assets/index.css'
|
||||
import { registerSW } from 'virtual:pwa-register'
|
||||
import 'vue-sonner/style.css'
|
||||
|
||||
const app = createApp(App)
|
||||
const pinia = createPinia()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue