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: Page scrolls to top when clicked on calendar icon #3791

Closed
gvg356 opened this issue Mar 22, 2023 · 0 comments
Closed

Calendar: Page scrolls to top when clicked on calendar icon #3791

gvg356 opened this issue Mar 22, 2023 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@gvg356
Copy link

gvg356 commented Mar 22, 2023

Describe the bug

When using the calendar in a custom component and then referring it from the parent component is causing the page to scroll to the top.

Reproducer

https://stackblitz.com/edit/angular-hshnyy-yztn99?file=src/App.vue

PrimeVue version

3.26

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Go to the page
  2. Scroll down to the calendar component and click on calendar icon
  3. Page scrolls to top

Expected behavior

Page should not scroll to top. It should stay with the calendar icon.

@gvg356 gvg356 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 22, 2023
@bahadirsofuoglu bahadirsofuoglu 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 Mar 23, 2023
@bahadirsofuoglu bahadirsofuoglu added this to the 3.x milestone Mar 23, 2023
@bahadirsofuoglu bahadirsofuoglu self-assigned this Mar 24, 2023
@bahadirsofuoglu bahadirsofuoglu modified the milestones: 3.x, 3.26.1 Mar 24, 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 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.

2 participants