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

Calendar: wrong overlay position #2689

Closed
nndnha opened this issue Jun 17, 2022 · 2 comments · Fixed by #2714
Closed

Calendar: wrong overlay position #2689

nndnha opened this issue Jun 17, 2022 · 2 comments · Fixed by #2714
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@nndnha
Copy link

nndnha commented Jun 17, 2022

Describe the bug

  • It shows wrong position for calendar overlay.
  • It doesn't hide the calendar overlay when clicked on other row.
  • After after several click it shows the error:
Cannot read properties of null (reading 'value')
Proxy.onBlur
https://1vxtm6.csb.app/node_modules/primevue/calendar/calendar.esm.js:1812:27
$props.inline.onBlur._cache.<computed>._cache.<computed>
https://1vxtm6.csb.app/node_modules/primevue/calendar/calendar.esm.js:2268:80
...
pedantic-https-1vxtm6.-.CodeSandbox.-.17.June.2022.mp4

Reproducer

https://codesandbox.io/s/pedantic-https-1vxtm6?file=/src/DataTableEditDemo.vue

PrimeVue version

3.15.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@nndnha nndnha added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jun 17, 2022
@99Arrzel
Copy link

I've been experiencing the same issue, it happened after npm update

@99Arrzel
Copy link

99Arrzel commented Jun 19, 2022

Note: temporal solution is to downgrade to 3.12.0
Just change your package-lock.json
Bug seems to be from version 3.13 and above

popov-a-e pushed a commit to popov-a-e/primevue that referenced this issue Jun 24, 2022
popov-a-e pushed a commit to popov-a-e/primevue that referenced this issue Jun 24, 2022
mertsincan pushed a commit that referenced this issue Jun 24, 2022
…2689 (#2714)

* Fixed #2689 - fix Portal mounted, fix onBlur method in Calendar

* Fixed #2689 - revert accidentally changed line

Co-authored-by: Alex Popov <al@twentyoneskills.com>
@mertsincan mertsincan added this to the 3.15.1 milestone Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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