Skip to content

ion-fab-list not perfectly aligned with ion-fab-button #105

Description

@websystems-dev

Fist of all: great job!

I spotted a design bug. When a FAB list list is expanded, alignment with the main open/close ion-fab-button seems wrong.
See my screenshot (directly from the demo page at https://ionic-theme-ios26.netlify.app/main/index/floating-action-button )

Image

I added green and blue borders just to visualize the gap.

There are two cases:

  1. When the size of the main ion-fab-button is "small": adding a margin-inline-start: 4px; to the ion-fab-list will align them perfectly
  2. With a big main button (as in the screenshot): adding a margin-inline-start:2px to ion-fab-list aligns "more or less" these elements. I say "more or less" because there will be always a 1px gap: the big button width is 61px and the list is 56px (so no pixel-perfect alignment is possible).

Same for horizontal FABS (top margin missing).

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