Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix in-call context menus when in PiP mode #6552

Merged
merged 2 commits into from
Aug 5, 2021

Conversation

anoadragon453
Copy link
Member

Fixes element-hq/element-web#18382.

Mounting them as children when in PiP mode behaves oddly. Condition mounting the context menus as children of the current component based on whether PiP mode is active. Note that this is a bit of a quick fix - I don't currently know why it doesn't work in PiP mode.


Using the same changelog as #18382 (I assume these will be merged together?).

Notes: Fix DialPad and Call Menu buttons not working when a call is fullscreened.

Signed-off-by: Andrew Morgan <[email protected]>

Mounting them as children when in PiP mode doesn't work. Condition mounting
the context menus as children of the current component based on whether PiP
mode is active.
@anoadragon453 anoadragon453 requested a review from a team as a code owner August 4, 2021 16:33
@dbkr dbkr added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Aug 4, 2021
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

You can merge develop to fix the netlify build. Also not sure what you mean with the same-changelog stuff - you linked to an issue?

@anoadragon453
Copy link
Member Author

Also not sure what you mean with the same-changelog stuff - you linked to an issue?

Whoops, meant to link this PR: #6496

@anoadragon453 anoadragon453 merged commit df888a1 into develop Aug 5, 2021
@anoadragon453 anoadragon453 deleted the anoa/fix_call_buttons_pip branch August 5, 2021 15:33
Palid added a commit that referenced this pull request Aug 6, 2021
…icture

* origin/develop: (100 commits)
  Add comments to isRegionalIndicator
  Stop voice messages that are playing when starting a recording
  Properly set style attribute on shared usercontent iframe
  Fix in-call context menus when in PiP mode (#6552)
  Extract tooltipYOffset to a const
  Increase yOffset by 4px away
  i18n
  Post-merge conflict resolution and improve alignment of tooltips
  Fix image & blurhash info when skipping thumbnail due to thresholds
  Skip sending a thumbnail if it is not a sufficient saving over the original
  Null guard space inviter to prevent the app exploding
  Remove seams from pin icon
  Appease Jest
  Fix worklet reference for new webpack pipeline
  i18n
  Update copy
  Fix wrong cursor being used in PiP
  Fix voice feed cut-off
  Use flex-start as it has more universal support
  Wrap cases in {}
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pop out menu in PIP is in a random location
2 participants