Skip to content
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

fix: panel flick in some edge case #439

Merged
merged 3 commits into from
Aug 1, 2022
Merged

fix: panel flick in some edge case #439

merged 3 commits into from
Aug 1, 2022

Conversation

MadCcc
Copy link
Member

@MadCcc MadCcc commented Jul 15, 2022

@vercel
Copy link

vercel bot commented Jul 15, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
picker ✅ Ready (Inspect) Visit Preview Sep 1, 2022 at 2:28AM (UTC)

(direction === 'rtl' || arrowRef.current.offsetLeft > arrowLeft
? 0
: arrowRef.current.offsetLeft)
(direction === 'rtl' ? 0 : arrowMarginLeft)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

解释一下?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是暂时没考虑 rtl 的 case,所以先忽略成 0,marginRight 相对来说算起来麻烦一些

@codecov
Copy link

codecov bot commented Aug 1, 2022

Codecov Report

Merging #439 (325f8fe) into master (7d937d2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #439   +/-   ##
=======================================
  Coverage   99.53%   99.53%           
=======================================
  Files          46       46           
  Lines        2148     2149    +1     
  Branches      633      634    +1     
=======================================
+ Hits         2138     2139    +1     
  Misses          8        8           
  Partials        2        2           
Impacted Files Coverage Δ
src/RangePicker.tsx 100.00% <100.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@MadCcc MadCcc merged commit abbe6af into master Aug 1, 2022
@MadCcc MadCcc deleted the fix/panel-flick branch August 1, 2022 02:35
@nodkz
Copy link
Contributor

nodkz commented Oct 14, 2022

@afc163 could you please bump a new package version?

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.

RangePicker with showtime and special scope width, position of end time popup is abnormal
3 participants