-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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: close image gallery on backdrop click #31344
Conversation
…ng the minimize arrow
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #31344 +/- ##
===========================================
+ Coverage 49.33% 49.35% +0.01%
===========================================
Files 3308 3311 +3
Lines 81299 81337 +38
Branches 16650 16657 +7
===========================================
+ Hits 40109 40143 +34
+ Misses 36496 36491 -5
- Partials 4694 4703 +9
Flags with carried forward coverage won't be shown. Click here to find out more. |
Instead of doing that I would create a new function and check if the element that was clicked (overlay) contains the class that I want, in that case, WDYT @juliajforesti ? |
That selector might not work, since there's another layer of container on top ( I like the current solution :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sayan4444 thank you for your contribution!
…hideUi * 'develop' of github.com:RocketChat/Rocket.Chat: (112 commits) chore: update yarn.lock chore: Replace `FramedIcon` in favor of fuselage component (#31356) chore: fix dep version Release 6.5.2 fix: wrong value used for workspace registration ci: update release PR description with change log fix: inquiries being limited to 50 items (#31267) fix: close image gallery on backdrop click (#31344) fix: No error message when uploading a file that is not allowed (#31346) fix: Text area only shows the last line of the message for very long texts #31252 #31257 (#31262) chore: adding new streamer event for imported messages (#31063) chore: adapt read receipts feature to work without oplog on msgs (#30996) chore: remove Messages model dependency of Rooms model (#31272) chore: `Card` normalization (#31335) refactor: unify useStream and useSingleStream (#31326) chore: add new msg stream for reported msgs (#31087) Bump 6.5.2 feat: Highlight words in thread messages (#31281) fix: Show only departments that are allowed on registration page on livechat widget (#31302) fix: Fallback forward department not working as expected on chat forwarding (#31296) ...
Proposed changes (including videos or screenshots)
BEFORE THE FIX
https://github.com/RocketChat/Rocket.Chat/assets/112304873/c3948a9b-21c0-40f9-8f4c-97e79909a698
AFTER THE FIX
https://github.com/RocketChat/Rocket.Chat/assets/112304873/c7a48b70-4951-43e3-9e35-a879107d61de
REASON BEHIND CHANGES
There are far better ways to implement this but with this configuration,this is the best way to implement this feature
Issue(s)
This should close issues :-
closes #31341
Steps to test or reproduce
Login to rocket chat.
Go to any Community chat.
Click on any media