slider icon indicating copy to clipboard operation
slider copied to clipboard

support drag in documentPictureInPicture

Open apades opened this issue 2 years ago • 6 comments

apades avatar Aug 30 '23 02:08 apades

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

Name Status Preview Comments Updated (UTC)
slider ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 22, 2024 4:32am

vercel[bot] avatar Aug 30 '23 02:08 vercel[bot]

需要添加测试用例

yoyo837 avatar Aug 30 '23 03:08 yoyo837

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.81%. Comparing base (5bf3745) to head (04fd537). Report is 3 commits behind head on master.

:exclamation: Current head 04fd537 differs from pull request most recent head 27e1d44. Consider uploading reports for the commit 27e1d44 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##            master     #942      +/-   ##
===========================================
- Coverage   100.00%   99.81%   -0.19%     
===========================================
  Files           13       13              
  Lines          562      540      -22     
  Branches       160      150      -10     
===========================================
- Hits           562      539      -23     
- Misses           0        1       +1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Aug 30 '23 04:08 codecov[bot]

jest不知道怎么先挂在top上doMouseMove,然后移动到iframe再doMouseMove就接受不到mouse event了。实际上可以这么操作的

apades avatar Aug 30 '23 06:08 apades

jest不知道怎么先挂在top上doMouseMove,然后移动到iframe再doMouseMove就接受不到mouse event了。实际上可以这么操作的

jsdom 应该是 iframe 模拟不全的,可以参考这个例子。这个 fix shadowDOM 应该也能支持了:https://github.com/react-component/trigger/blob/471a79f95628479a2c57809c1595f4ca108c85fa/tests/shadow.test.tsx#L37

zombieJ avatar Aug 30 '23 07:08 zombieJ

@apades is attempting to deploy a commit to the React Component Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Dec 01 '23 04:12 vercel[bot]