primereact icon indicating copy to clipboard operation
primereact copied to clipboard

Calendar: focus border and mask issue (material design theme)

Open djapal opened this issue 1 year ago • 5 comments

Describe the bug

According to this codesandbox and using primereact 8.0.0, when focusing a calendar element, broder changes and also mask is shown. Also floating label moves up to indicate focus event. Border changes color on focus but when "showIcon" is used, border doesnt change color (purple e.g. for indigo) Using primereact 10.8.3 nothing happens

Reproducer

https://codesandbox.io/p/sandbox/musing-pateu-gmxvrk?file=%2Fpackage.json%3A12%2C27

System Information

Not sth specific for this

Steps to reproduce the behavior

Just focus on a calendar element

Expected behavior

No response

djapal avatar Sep 25 '24 08:09 djapal

You should add a reproducer that shows the issue not one that shows an old working example - create a stackblitz with your issue please

sja-cslab avatar Sep 25 '24 09:09 sja-cslab

You should add a reproducer that shows the issue not one that shows an old working example - create a stackblitz with your issue please

Hi. no need for reproducer. Just go to showcase, select material design theme and just focus on the calendar element.

djapal avatar Sep 25 '24 09:09 djapal

Material image

Lara image

both seems to work - what exactly is the problem here? I dont see any issue

sja-cslab avatar Sep 25 '24 09:09 sja-cslab

Example with primereact 8 image Showcase with primereact 10.8.3 image

Ok seems that border is changed although is seems thinner when comparing with border of inputtext on focus event. Still though the floating label doesnt go up, as when focusing other input elements. Also mask not shown when focusing. You can see the mask when trying to delete a selected date

djapal avatar Sep 25 '24 09:09 djapal

seems that floating label doesnt go up at the position of the border, regardless of the theme, as i just checked.

djapal avatar Sep 25 '24 09:09 djapal

This issue has been automatically marked as stale. If this issue is still affecting you with the latest version, please leave any comment, and we will keep it open. We are sorry that we have not been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Dec 29 '25 01:12 github-actions[bot]