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

Button/p-button and tooltip: Doesn't work correctly #15390

Closed
SoyDiego opened this issue Apr 29, 2024 · 0 comments · Fixed by #15587 · 4 remaining pull requests
Closed

Button/p-button and tooltip: Doesn't work correctly #15390

SoyDiego opened this issue Apr 29, 2024 · 0 comments · Fixed by #15587 · 4 remaining pull requests
Assignees
Labels
LTS-PORTABLE Issue's fix will be ported to supported LTS versions Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@SoyDiego
Copy link
Contributor

Describe the bug

button and p-button are not working correctly.

Doesn't have the same properties. Label is missing

image

If you use p-button or button inside a div using grid or flex the tooltip appears in a wrong position

You can check the stackblitz here and in the comments you will find all the explanations https://stackblitz.com/edit/ygqzij-9imghr?file=src%2Fapp%2Fdemo%2Fbutton-basic-demo.ts,src%2Fapp%2Fdemo%2Fbutton-basic-demo.html

Environment

Reproducer

https://stackblitz.com/edit/ygqzij-9imghr?file=src%2Fapp%2Fdemo%2Fbutton-basic-demo.ts,src%2Fapp%2Fdemo%2Fbutton-basic-demo.html

Angular version

17

PrimeNG version

17

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

  • Tooltips works ok when the component is inside a div using display: grid;
  • Button and p-button with the same properties.
  • Button and p-button with same width
@SoyDiego SoyDiego added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 29, 2024
@cetincakiroglu cetincakiroglu modified the milestones: 17.16.1, 17.16.2 May 6, 2024
@mehmetcetin01140 mehmetcetin01140 self-assigned this May 15, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working LTS-PORTABLE Issue's fix will be ported to supported LTS versions and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels May 16, 2024
cetincakiroglu added a commit that referenced this issue May 16, 2024
Fixed #15390 - Button/p-button and tooltip: Doesn't work correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment