Skip to content

expand options can be implemented #2

@shahryarjb

Description

@shahryarjb
  1. :drawer — Instead of expanding inline below the row, slides a side panel from the right. Good for showing
    detailed forms or lots of content without pushing rows down.
  2. :modal — Opens a centered modal overlay with the expanded content. Better for focused viewing when you don't need
    to see the table behind it.
  3. :popover — Small floating card that appears near the row on click. Good for quick previews (e.g., showing a
    thumbnail or summary) without heavy layout shifts.

Each would still use the same {:expand_row, id} → expanded_html flow from the parent LiveView, just different UI for displaying the result. The ▶ first-cell trigger would stay the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions