Skip to content

Dev3 popup keepupdating#240

Open
hiroshisuga wants to merge 93 commits intov3.0.x-releasefrom
dev3_popup_keepupdating
Open

Dev3 popup keepupdating#240
hiroshisuga wants to merge 93 commits intov3.0.x-releasefrom
dev3_popup_keepupdating

Conversation

@hiroshisuga
Copy link
Owner

What does this PR do?

Closes Issue(s)

Closes #

Motivation

More

  • Added/updated documentation

No change observed, so commented out. Leave as comments for a recording purpose.
This fixes the chronic problem of disability of fullscreen of the popup in the main monitor (sub monitor does not have the problem)
Tested window resizing with/without the change, but I didn't see any difference. I leave the change because the video alignment should not be affected by the popup window size.
Keep using the original code, in which window.rAF/cAF (replace with those of popup at presentation/component.jsx) is used.
Backup original rAF/cAF to avoid the bad effects from the globally replaced popup.rAF/cAF.

After the fix of zoom failure in the full-screened popup on the main monitor by hacking the window.requestAnimationFrame/window.cancelAnimationFrame, some of BBB's function including the 'catch the latest chat message' button is found broken. This PR fetches the original window.rAF/cAF and uses them for two BBB components (chat-graphql and video-provider/video-list). The emoji-rain component has left untouched (only leaving commented out codes) because no difference has been observed.
Revert 5b7dc91, because it breaks the shape handling on the main window when the popup is closed.
This was first merged by 0a78781, which nicely fixed the problem of style selector panel (button continue to be pushed. Actually the 'e.target.dispatchEvent(pointerUpEvent)' did not seem necessary even then.
However, this patch has a severe conflict with 2cdebe9 , which globally replace window.HTMLElement with popup.HTMLElement so that resize and rotate handle becomes operatable on the popup (a problem caused by dom.ts of tldraw which internally refers HTMLElement.
A 'Prefer default export on a file with single export' occurred because there is only one export in the file.
By mistake it had been sitting at inside of Fullscreen event listener.
change the name of a constant
See the comment. I force re-rendering of the slide SVG upon the popup window resizing.
Test3017merge
@github-actions
Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

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.

1 participant