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

p-splitter: Resize not working when iFrames are used in panels #15942

Closed
MaSch0212 opened this issue Jul 2, 2024 · 0 comments · Fixed by #15945
Closed

p-splitter: Resize not working when iFrames are used in panels #15942

MaSch0212 opened this issue Jul 2, 2024 · 0 comments · Fixed by #15945
Labels
LTS-16-PORTABLE LTS-FIXED-16.9.12 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@MaSch0212
Copy link
Contributor

Describe the bug

When I have iFrames inside my panels in the p-splitter component, the resizing is interrupted whenever I move the mouse too fast.
This is probably because the iframe catches the mouse inputs.

Environment

Windows 11
Firefox 128
Angular 17.3.11
PrimeNG 17.18.2

Reproducer

https://stackblitz.com/edit/github-icscya?file=src%2Fapp%2Fapp.component.html

Angular version

17.3.11

PrimeNG version

17.18.2

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.15.0

Browser(s)

Firefox 128

Steps to reproduce the behavior

  1. Add two panels each having an iframe with width 100%
  2. Try to resize the panels
    • When moving slowly it works
    • When moving quickly it gets stuck

Expected behavior

Resizing should work correctly regardless of the content of the panels.

@MaSch0212 MaSch0212 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 2, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jul 4, 2024
@cetincakiroglu cetincakiroglu added this to the 17.18.3 milestone Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-16-PORTABLE LTS-FIXED-16.9.12 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants