Lambda-IT / parlamentsdienste-components

StencilJs Component Library
MIT License
2 stars 1 forks source link

Keepalive datepicker issue #294

Closed vonmuehlenen closed 3 months ago

vonmuehlenen commented 4 months ago

Currently, we have our filters wrapped inside a Vue built-in component named keep-alive. This is done to persist the filter state across a page transition. Upon page load, we can easily modify the filters, and the Flatpickr overlay is visible, allowing us to change our dates. After a date is chosen and we transition to another page, and then return to our page that holds our filters, the datepicker is broken. This means the overlay doesn't open anymore, and therefore, we do not have the chance to change the dates.

You both should have been added to a GitHub repository where you can easily reproduce the described issue. If you have any more questions, just contact either me or Domi.

Vue.js Keepalive https://vuejs.org/guide/built-ins/keep-alive

tom-wenger commented 3 months ago

ready to test

d3orn commented 3 months ago

Can be closed