ant-design-mobile
ant-design-mobile copied to clipboard
[Calendar] - next.js + TM + antd-design
Version of antd-mobile
5.15.1
Operating system and its version
No response
Browser and its version
102.0.5005.115 (Official Build) (64-bit)
Sandbox to reproduce
No response
What happened?
Calendar doesn't work, I created a new next.js project and after antd-mobile and TM installed (it needs to avoid CSS global error after installation of antd-mobile) it was broken. Need some help, because I've no idea why it happened.
package.json
"dependencies": {
"antd-mobile": "^5.15.1",
"next": "12.1.6",
"next-transpile-modules": "^9.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
},
next.config.js
const withTM = require("next-transpile-modules")(["antd-mobile"]);
const nextConfig = {
reactStrictMode: true,
}
module.exports = withTM(nextConfig);
https://user-images.githubusercontent.com/39006224/174610742-e6bfc527-2bf3-493d-934a-6b308ea2fae6.mp4
Relevant log output
No response
This is strange… Can you zip and upload the project? Or push it to a GitHub repo so that we can check the code.
I've investigated the project you uploaded but sorry that I couldn't find anything wrong there. It's really strange. I decided to give up digging further because we'll rewrite the Calendar component very soon.
I'll leave this issue open so we can have a check about the new Calendar component later.
Thanks for your feedback.
I also encountered this problem
I had the same problem
same problem........
@miracles1919 @zombieJ Is there any plan to build the new Calendar component?