Skip to content

fix(RangePicker): fix panelLeft according to wrapper width #264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

SoYoung210
Copy link

resolves #263

Additionally, I changed marginLeft to transform: translateX because using the transform property rather than adjusting the margin is better in terms of css rendering performance.

@vercel
Copy link

vercel bot commented Jun 12, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/picker/4Nwy4tpRvGTgPCT7DtSppT26vCJX
✅ Preview: https://picker-git-fork-soyoung210-master-react-component.vercel.app

@SoYoung210 SoYoung210 changed the title Changed panelLeft of panel-container to always change according to RangePicker wrapper width Change panelLeft of panel-container to always change according to RangePicker wrapper width Jun 12, 2021
@SoYoung210 SoYoung210 changed the title Change panelLeft of panel-container to always change according to RangePicker wrapper width fix(RangePicker): fix panelLeft according to wrapper width Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Suggestion] How about making the panelLeft of a div with the panel-container class of RangePicker always change?
1 participant