Vuepic / vue-datepicker

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

When using the clear icon slot, the `dp__clear_icon` class is applied. #945

Closed uchksh closed 1 month ago

uchksh commented 1 month ago

Regarding the following changes in v9.0.0

Class dp__clear_icon is renamed to dp--clear-btn and the icon is wrapped in

When using slots, the dp__clear_icon class is applied. Should this be the dp--clear-btn class?

https://github.com/Vuepic/vue-datepicker/blob/a742b9d457d51c2eea48235774d795a9ef881b24/src/VueDatePicker/components/DatepickerInput.vue#L62

carlssonemil commented 1 month ago

This also causes some issues with the positioning of the clear icon:

CleanShot 2024-07-18 at 14 43 10