ant-design / ant-design-mobile-rn

Ant Design for React Native
https://rn.mobile.ant.design/
MIT License
3.02k stars 609 forks source link

Document display error - Picker element #1240

Closed yyyyyyounger closed 2 years ago

yyyyyyounger commented 2 years ago

Reproduction link

https://rn.mobile.ant.design/components/picker/

Steps to reproduce

Open any browser and directly open the document link. The expo-web error will happen. "Unable to resolve module 'antd-mobile-demo-data.js' Evaluating antd-mobile-demo-data.js Evaluating App.js Loading App.js"

What is expected?

It should no error showed as a official document website.

What is actually happening?

Expo-web display window had occur the error.

Environment Info
antd 5.0.0
React 0.68.2
System Android 11
Browser Chrome 102.0.5005.115

Is that due to the Expo platform? That really influence the document viewing experience.

yyyyyyounger commented 2 years ago

image

yyyyyyounger commented 2 years ago

Even though open in the web editor. It also occur. image

nimeshkavinda commented 2 years ago

Any planned fixes for this?

yyyyyyounger commented 2 years ago

May be that is caused by the Expo Platform. Hoping a Expo expert can handle that. 😥 This issue is just a suggestion for the showing component demo.

1uokun commented 2 years ago
image

My mistake, recently busy with the "mid-year" assessment. We provide h5 demo: https://1uokun.github.io/ant-design-mobile-rn/index.html

yyyyyyounger commented 2 years ago

Thank you very much. 👍

1uokun commented 2 years ago

fixed now