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

on-panel-change not triggering when clicking on date in the next or previous month #3063

Closed
Armiin94 opened this issue Jun 8, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Armiin94
Copy link

Armiin94 commented Jun 8, 2022

TuSimple/naive-ui version (版本)

2.30.2

Vue version (Vue 版本)

3.2.37

Browser and its version (浏览器及其版本)

98.0.4758.80

System and its version (系统及其版本)

Ubuntu 20.04.3 LTS

Node version (Node 版本)

v14.17.1

Reappearance link (重现链接)

https://github.com/Armiin94/vitejs-vite-quhb4x/tree/master

Reappearance steps (重现步骤)

  • Go to next month using navigation button "arrow right" or "arrow left"
  • Alert will show saying the function is triggered
  • Now try to click on a date that doesn't belong to current month (either previous or next month)
  • You notice the panel change to the month that date belong to

Expected results (期望的结果)

I expect the onChangePanel function to trigger when the panel change through this process

Actual results (实际的结果)

onChangePanel function not triggering in this case

Remarks (补充说明)

I want to use the onPanelChange to lazy load data for next panel. It works fine using navigation buttons but not in this case...

@github-actions github-actions bot added the untriaged need to sort label Jun 8, 2022
@07akioni 07akioni added the bug Something isn't working label Jun 8, 2022
@07akioni 07akioni removed the untriaged need to sort label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants