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

Dropdown am Split-Button wird abgeschnitten #6725

Closed
laske185 opened this issue Aug 12, 2024 · 3 comments · Fixed by #6726
Closed

Dropdown am Split-Button wird abgeschnitten #6725

laske185 opened this issue Aug 12, 2024 · 3 comments · Fixed by #6726
Assignees
Labels
bug Something isn't working

Comments

@laske185
Copy link
Contributor

Ist der Dropdown innerhalb einer Komponente mit Shadow-DOM (Bsp.: KolCard), wird das Dropdown abgeschnitten, wenn es hinausragen würde.

Image

@laske185 laske185 converted this from a draft issue Aug 12, 2024
@laske185 laske185 added the bug Something isn't working label Aug 12, 2024
@laske185
Copy link
Contributor Author

Lösungsansatz: Der innere Container des Popover muss statt position: absolute auf position: fixed umgestellt werden. Dafür muss die Position allerdings berechnet werden. Hierfür kann die gleiche Lib und Ansatz wie im Tooltip verwendet werden.

@laske185
Copy link
Contributor Author

laske185 commented Aug 12, 2024

Statt dem:

<div class="popover" ref={this.catchDropdownElements}>
	<div class="popover-content">
		<slot />
	</div>
</div>

sollte

<KolPopoverWc>
    <slot />
</KolPopoverWc>

verwendet werden.

@anicyne anicyne linked a pull request Aug 12, 2024 that will close this issue
@anicyne anicyne linked a pull request Aug 12, 2024 that will close this issue
anicyne added a commit that referenced this issue Aug 13, 2024
anicyne added a commit that referenced this issue Aug 13, 2024
anicyne added a commit that referenced this issue Aug 13, 2024
anicyne added a commit that referenced this issue Aug 14, 2024
anicyne added a commit that referenced this issue Aug 14, 2024
anicyne added a commit that referenced this issue Aug 14, 2024
anicyne added a commit that referenced this issue Aug 14, 2024
@sdvg sdvg self-assigned this Aug 26, 2024
@sdvg sdvg moved this from 🔍 Review to 🏗 In progress in KoliBri Board Aug 26, 2024
@laske185
Copy link
Contributor Author

E2E-Tests werden separat erstellt. Zum Test für dieses Behavior sind sie nicht geeignet, da es ein visuelles Problem ist.

sdvg added a commit that referenced this issue Aug 27, 2024
sdvg added a commit that referenced this issue Aug 27, 2024
@sdvg sdvg moved this from 🏗 In progress to 🔍 Review in KoliBri Board Aug 27, 2024
sdvg added a commit that referenced this issue Aug 27, 2024
@sdvg sdvg removed their assignment Aug 29, 2024
Makko74 added a commit that referenced this issue Sep 3, 2024
Makko74 added a commit that referenced this issue Sep 3, 2024
Makko74 added a commit that referenced this issue Sep 3, 2024
Makko74 added a commit that referenced this issue Sep 3, 2024
Makko74 added a commit that referenced this issue Sep 3, 2024
@github-project-automation github-project-automation bot moved this from 🔍 Review to ✅ Done in KoliBri Board Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants