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

Speed Dial: Invisible overlay hangs below element #14330

Closed
horizoncarlo opened this issue Dec 12, 2023 · 2 comments
Closed

Speed Dial: Invisible overlay hangs below element #14330

horizoncarlo opened this issue Dec 12, 2023 · 2 comments

Comments

@horizoncarlo
Copy link

horizoncarlo commented Dec 12, 2023

Describe the bug

I have a 64px Speed Dial, but there is an extra 36px of invisible overlay below the Speed Dial, which blocks mouse events from being passed through to elements underneath. The overlay seems to be part of the flex layout, and appears in whatever direction your Speed Dial is set to (in my case direction="down", with type="linear").

primeng-speed-dial-overhang

The same behaviour is evident when inspecting the PrimeNG component suite itself.

Environment

Seen in PrimeNG 16 and 17 (with Angular versions to match) on Chrome v120 on desktop Linux.

Reproducer

No response

Angular version

16, 17

PrimeNG version

16, 17

Build / Runtime

TypeScript

Language

TypeScript

Node version (for AoT issues node --version)

18

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

I would expect Speed Dial to maintain it's specified height (in this case 64px) without any overhang/overlay that blocks clicks.

@horizoncarlo horizoncarlo added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 12, 2023
@cetincakiroglu
Copy link
Contributor

cetincakiroglu commented Dec 13, 2023

Hi,

It's not the overlay, it's the menu items list of the component. It happens because the angular animations don't work with display: none, it breaks the animation. Due to the technical limitations, we're not able to modify the animation in this way. We're planning to replace angular animations with our custom CSS animations in the future, which will solve the issue.

@cetincakiroglu cetincakiroglu removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 13, 2023
@horizoncarlo
Copy link
Author

Unfortunate limitation. Any timeline on a projected fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants