Skip to content

Unable to click to load images inside threads #15917

@wreiske

Description

@wreiske

Description:

When you have autoload images disabled, you can't click to open images inside threads.

Steps to reproduce:

  1. Open a thread
  2. Send an image
  3. click on the "click to load"

Expected behavior:

Show the image

Actual behavior:

image

I can't click to load images in thread replies.

image

e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:123913 Uncaught TypeError: Cannot read property '_id' of undefined
    at Object.click .image-to-download (e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:123913)
    at e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:95270
    at Function.e._withTemplateInstanceFunc (e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:95236)
    at f.View.<anonymous> (e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:95269)
    at e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:94711
    at Object.f._withCurrentView (e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:94522)
    at f._DOMRange.<anonymous> (e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:94710)
    at HTMLDivElement.delegatedHandler (e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:93869)
    at HTMLDivElement.dispatch (e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:21740)
    at HTMLDivElement.g.handle (e928e6a733405292c7f90ab99806fcfe0ec950bf.js?meteor_js_resource=true:formatted:21678)

image

image

Server Setup Information:

  • Version of Rocket.Chat Server: 2.3.0

Metadata

Metadata

Assignees

Labels

area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactiontype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions