preactjs / preact

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
https://preactjs.com
MIT License
36.4k stars 1.93k forks source link

AntDesign > Bugs #3134

Open michaelpeterlee opened 3 years ago

michaelpeterlee commented 3 years ago

A number of AntDesign bugs exist, preventing on us from using this. We likely have more, so will update this as we find them.

STEPS TO REPRODUCE:

https://codesandbox.io/s/priceless-cherry-4m1o4

We edited the counter component from your base sandbox app.

  1. <Select mode="tags" tokenSeparators={[',']} /> 1.1. Works on the web with preact, however on iOS you have to hit enter key for the tag effect. Tags should envelope text onBlur which is not happening thus preventing any input data being registered on the form. 1.1.1. This behaviour exhibits in the demo app, above (albeit without styling)

  2. EDIT 2.1. Some menu items do not render correctly [offset to the left] and more importantly the item is not selectable on both web and iOS. Clicking on 'Edit' does not invoke the alert('hi') payloads
michaelpeterlee commented 3 years ago

We reverted Preact and have not re-implemented to review further. Once these are fixed, we will take it for another spin.