Vuepic / vue-datepicker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
1.48k stars 147 forks source link

The "select-text" and "cancel-text" attributes can't set the Chinese text correctly. #733

Closed AQian-Cup closed 8 months ago

AQian-Cup commented 8 months ago

Describe the bug Text overflow occurs when the "select-text" and "cancel-text" attributes are set to Chinese text.

To Reproduce Simply type in the Chinese text to reproduce.

Expected behavior Chinese text should be arranged horizontally rather than vertically.

Screenshots image

Desktop & mobile (please complete the following information):

Possible helpful information image

Displayed correctly after removing the "flex" attribute.After my testing, I've found that this problem also occurs with Japanese text.I think this may be caused by certain CSS properties when handling CJK characters.