picker icon indicating copy to clipboard operation
picker copied to clipboard

wrong size attribute computation for the Range picker input.

Open karthik-hr opened this issue 4 years ago • 0 comments

When pass date format as "MMMM DD, YYYY" for the range picker, size of the input computed as format.length + 2 which is 15 and its wrong.

Moment formatted date will be December 01, 2020 which should be 17 + 2.

https://github.com/react-component/picker/blob/master/src/utils/uiUtil.ts#L191

karthik-hr avatar Dec 09 '20 07:12 karthik-hr