baseweb
baseweb copied to clipboard
fix: datepicker focus outline shouldnt be cut off
Fixes datepicker’s day focus outline cut off issue.
Description
Currently, day's focus outline is partly covered by the following day’s cell. The images and the recording explain this better. This fix makes the datepicker look a little more polished.
Before
![](https://user-images.githubusercontent.com/17082436/191592862-1b8b464b-af10-4d12-a635-78ad3820a316.png)
![](https://user-images.githubusercontent.com/17082436/191592868-03a72b8a-69f9-4f3c-ae07-cdb952b704fe.png)
After
![](https://user-images.githubusercontent.com/17082436/191592912-fa212966-8af2-4753-95a7-38b92cf414e0.png)
![](https://user-images.githubusercontent.com/17082436/191592915-e06b6542-1e1c-4646-b4cf-347767d6db8a.png)
https://user-images.githubusercontent.com/17082436/191592924-67021dce-bdb8-4948-b5d1-c592fc22c402.mp4
Scope
Patch: Bug Fix
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 70a532999de8452ab2f3eb1319bf98c325aad11c:
Sandbox | Source |
---|---|
Basic usage | Configuration |
Thank you for this PR. We will need to figure out a solution that does not use z-index. Please use another method for creating a stacking context. We almost never use z-index in base web