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

Mention: wrong value when clicking on suggestion #4221

Closed
lagroms opened this issue Apr 5, 2023 · 1 comment · Fixed by #4225
Closed

Mention: wrong value when clicking on suggestion #4221

lagroms opened this issue Apr 5, 2023 · 1 comment · Fixed by #4225
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@lagroms
Copy link

lagroms commented Apr 5, 2023

Describe the bug

Unexpected behavior when clicking on the padding area of a p-mention-item which replaces the textarea value to 0

onclick bug
Screenshot 2023-04-05 at 11 24 35 AM

Reproducer

https://stackblitz.com/edit/react-5snlta?file=src%2FApp.tsx

PrimeReact version

9.2.2

React version

17.x

Language

ES6

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@lagroms lagroms 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 5, 2023
melloware added a commit to melloware/primereact that referenced this issue Apr 5, 2023
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 5, 2023
@melloware melloware self-assigned this Apr 5, 2023
@melloware melloware added this to the 9.2.3 milestone Apr 5, 2023
@melloware
Copy link
Member

Submitted a fix

@melloware melloware changed the title Mention: wrong value when clicking on suggestion's padding area Mention: wrong value when clicking on suggestion Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants