Skip to content

fix(react): remove stray parenthesis rendered in ImageGallery - #1365

Open
ishan-one8 wants to merge 1 commit into
RocketChat:developfrom
ishan-one8:fix/image-gallery-stray-parenthesis
Open

fix(react): remove stray parenthesis rendered in ImageGallery#1365
ishan-one8 wants to merge 1 commit into
RocketChat:developfrom
ishan-one8:fix/image-gallery-stray-parenthesis

Conversation

@ishan-one8

@ishan-one8 ishan-one8 commented Aug 30, 2026

Copy link
Copy Markdown

Description

The ImageGallery view had a stray ) inside the swiper container, right after the closing </Swiper> tag. In JSX this bare character is rendered as a literal text node, so a ) was showing below the image slider in the gallery overlay. Removing it fixes the stray character with no behavior change.

Acceptance Criteria fulfillment

  • Removed the stray ) text node in ImageGallery.js
  • No functional/behavior change to the gallery

PR Test Details

Open a chat with image attachments, click an image to open the Image Gallery — the stray ) no longer appears next to the slider.

@CLAassistant

CLAassistant commented Aug 30, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

2 participants