Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract and refactor alignFloatingElements method #5542

Conversation

sdvg
Copy link
Member

@sdvg sdvg commented Nov 8, 2023

No description provided.

…ngslogik-für-tooltip-und-popover-in-separate-datei-auslagern

* origin:
  chore: update snaps
  fix font-family handling
…ctoring-ausrichtungslogik-für-tooltip-und-popover-in-separate-datei-auslagern

* 'develop' of github.com:public-ui/kolibri:
  update snapshots
  Bring back purple
  Fix badge examples to ensure minimum color contrast
@@ -1,14 +1,14 @@
import { arrow, autoUpdate, computePosition, flip, offset, shift } from '@floating-ui/dom';
import { autoUpdate } from '@floating-ui/dom';
Copy link
Contributor

Choose a reason for hiding this comment

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

Brauchen wir das auch im Popover?

Copy link
Member Author

Choose a reason for hiding this comment

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

Würde vielleicht nicht schaden, war aber bisher nicht implementiert.
Das autoUpdate führt dazu, dass auch bei Resize und Scroll die Position des floating elements korrekt bleibt.

@deleonio deleonio marked this pull request as ready for review November 9, 2023 13:13
@deleonio deleonio merged commit c1fa739 into develop Nov 9, 2023
2 checks passed
@deleonio deleonio deleted the 5504-refactoring-ausrichtungslogik-für-tooltip-und-popover-in-separate-datei-auslagern branch November 9, 2023 19:07
@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactoring: Ausrichtungslogik für Tooltip und Popover in separate Datei auslagern
2 participants