Skip to content

🚸(LaGaufreV2) automatic positionning#260

Open
AntoLC wants to merge 1 commit into
mainfrom
fix/fallback-positionning-lagaufre
Open

🚸(LaGaufreV2) automatic positionning#260
AntoLC wants to merge 1 commit into
mainfrom
fix/fallback-positionning-lagaufre

Conversation

@AntoLC

@AntoLC AntoLC commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Purpose

La Gauffre can be positioned to the bottom left of the page (on new Docs design).
image

As it is now, the LaGaufreV2 component is positioned only in the bottom left corner of the trigger button, so the floating container can be out of the viewport:
image

Now, depend on the position of the trigger button, the component will be positioned in the best place possible, to avoid being cut off by the viewport.

We added a story to show the behavior, plus e2e tests to check the component.

Demo

image

Related to suitenumerique/docs#2455

As it is now, the LaGaufreV2 component is positioned
in the bottom left corner of the trigger button.
Now, depend on the position of the trigger button,
the component will be positioned in the best place possible,
to avoid being cut off by the viewport.

We added a story to show the behavior, plus e2e
tests to check the component.
@AntoLC AntoLC self-assigned this Jun 23, 2026
@AntoLC AntoLC added the enhancement New feature or request label Jun 23, 2026

@NathanVss NathanVss left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this update 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants