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

CalendarPicker未设置最小日期的情况不能选择当前月份之前的日期,设置了最小值的情况,并且设置了默认日期,打开显示了最小日期的最小月份 #6654

Closed
stovd2 opened this issue Jul 1, 2024 · 3 comments · Fixed by #6660
Labels
bug need reproduce We cannot reproduce your problem

Comments

@stovd2
Copy link

stovd2 commented Jul 1, 2024

Version of antd-mobile

5.36.0

Operating system and its version

Others

Browser and its version

Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1

Sandbox to reproduce

https://codesandbox.io/p/sandbox/upbeat-lena-kxs7fs?file=%2Fsrc%2FApp.tsx%3A4%2C1

What happened?

我希望日历面板默认显示在当前月份的日期,上下滚动可以选择以设置的最小日期之后的日期

Relevant log output

No response

@stovd2 stovd2 added the bug label Jul 1, 2024
@zombieJ
Copy link
Member

zombieJ commented Jul 2, 2024

没开 public:
截屏2024-07-02 10 51 18

@afc163 afc163 added the need reproduce We cannot reproduce your problem label Jul 2, 2024
Copy link
Contributor

github-actions bot commented Jul 2, 2024

Hi, stovd2.

Please provide a online reproduction so that we can help you troubleshoot the problem. You can create a demo by codesandbox or stackblitz.

我们需要你提供一个在线的重现实例,以便于我们帮你排查问题。你可以通过 codesandboxstackblitz 创建一个实例。

@harity
Copy link

harity commented Jul 2, 2024

https://codesandbox.io/p/devbox/intelligent-lucy-sxydt6?file=%2Fsrc%2FApp.js%3A22%2C29
ref 里面的几个方法也是不生效,比如jumpToToday,demo 里有,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug need reproduce We cannot reproduce your problem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants