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: change sort default value 0 to be compatible with Firefox (#722) #748

Merged
merged 1 commit into from
May 24, 2022

Conversation

Zaoei
Copy link
Collaborator

@Zaoei Zaoei commented May 20, 2022

Description

In Firefox, sort is different from other browsers

Fixes #722

Changes

return 0, leaving the position unchanged

How Has This Been Tested?

  1. use firefox
  2. change panal

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@codecov
Copy link

codecov bot commented May 20, 2022

Codecov Report

Merging #748 (4f6bad5) into main (05ad264) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #748   +/-   ##
=======================================
  Coverage   91.34%   91.34%           
=======================================
  Files         189      189           
  Lines        5947     5948    +1     
  Branches     1426     1425    -1     
=======================================
+ Hits         5432     5433    +1     
  Misses        508      508           
  Partials        7        7           
Impacted Files Coverage Δ
src/workbench/panel/panel.tsx 100.00% <100.00%> (ø)
src/components/tabs/tab.tsx 100.00% <0.00%> (ø)
src/components/tabs/tabExtra.tsx 100.00% <0.00%> (ø)
src/components/breadcrumb/index.tsx 93.33% <0.00%> (+0.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 05ad264...4f6bad5. Read the comment docs.

Copy link
Collaborator

@mortalYoung mortalYoung left a comment

Choose a reason for hiding this comment

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

+1

@wewoor wewoor merged commit 22f310f into DTStack:main May 24, 2022
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.

bug: the order of Panel will changed when clicked
3 participants