X Tutup
Skip to content

Add eventlistener to detect a click on an iFrame and close open menus#39094

Merged
AlexAndBear merged 2 commits intomasterfrom
issues/39093
Aug 6, 2021
Merged

Add eventlistener to detect a click on an iFrame and close open menus#39094
AlexAndBear merged 2 commits intomasterfrom
issues/39093

Conversation

@AlexAndBear
Copy link

@AlexAndBear AlexAndBear commented Aug 6, 2021

Description

Before this PR click events was caught by iFrames due to this circumstances
for example the settings menu was never closed while clicking inside the
files_pdfviewer viewer. With this PR a new event has been added and closes the
menu.

Related Issue

Motivation and Context

How Has This Been Tested?

  • Open a pdf with files_pdfviewer
  • Click on the settings menu (top right)
  • Click inside the pdf
  • Settings menu closes 👍
    Same applies to Collabora

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@AlexAndBear AlexAndBear self-assigned this Aug 6, 2021
@AlexAndBear AlexAndBear linked an issue Aug 6, 2021 that may be closed by this pull request
@owncloud owncloud deleted a comment from update-docs bot Aug 6, 2021
@AlexAndBear AlexAndBear requested a review from JammingBen August 6, 2021 08:03
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 6, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

50.0% 50.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@hurradieweltgehtunter hurradieweltgehtunter left a comment

Choose a reason for hiding this comment

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

Nice!

@AlexAndBear AlexAndBear merged commit f115261 into master Aug 6, 2021
@delete-merged-branch delete-merged-branch bot deleted the issues/39093 branch August 6, 2021 08:47
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.

Federated share selection dropdown "Add to cloud" won't close

2 participants

X Tutup