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
Right now, consumer_form is a LiveComponent. We render it inside of the FullPageModal component because:
A full page modal is a nice UX pattern for displaying a form for create or edit: mentally, the user is still on the page where they clicked "Create/Edit"
We don't want to display the sidenav when displaying a form.
This works mostly well - however, there are some quirks. Whenever a tooltip is closed, the window scrolls to the top of the FullPageModal - not desirable.
We either want to:
Determine why the scroll top behavior occurs - and fix it (we're using ShadCN Svelte).
Move consumer_form into a LiveView. Just redirect to a different path when rendering the form. It should still feel like a full-page modal, but it won't be.
The text was updated successfully, but these errors were encountered:
Right now,
consumer_form
is a LiveComponent. We render it inside of theFullPageModal
component because:This works mostly well - however, there are some quirks. Whenever a tooltip is closed, the window scrolls to the top of the FullPageModal - not desirable.
We either want to:
consumer_form
into a LiveView. Just redirect to a different path when rendering the form. It should still feel like a full-page modal, but it won't be.The text was updated successfully, but these errors were encountered: