Aias00 opened a new issue, #890:
URL: https://github.com/apache/rocketmq-dashboard/issues/890

   ## Problem
   
   Several RocketMQ Studio download/export actions create an `<a>` element, set 
`href` and `download`, click it, and immediately revoke the object URL without 
attaching the element to the DOM or removing it after use.
   
   Current examples include:
   
   - `web/src/pages/instance/dlq.tsx` DLQ CSV export
   - `web/src/pages/ops/audit.tsx` audit log CSV export
   - `web/src/pages/studio/AlertManagement.tsx` alert rule YAML export
   - `web/src/pages/instance/message.tsx` message body download
   
   Detached programmatic clicks are less reliable across browsers, and each 
implementation handles temporary download anchors slightly differently.
   
   ## Expected behavior
   
   Download/export actions should append a hidden temporary anchor to 
`document.body`, click it, remove it, and then revoke the object URL. This 
keeps the behavior consistent and avoids leaving temporary DOM state behind.
   
   ## Scope
   
   RocketMQ Studio frontend export/download reliability.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to