The mini-map will close immediately when I try to drag or click on the mini-map internally.

Environment

Discourse Version: commit id: 1fbc1cd326782bd0871a07c416f3ca92b9497252

Plugin Commit: 0671f57cf999d381cfcd25b2c8d1ec28ac1e2830

Steps to Reproduce

  1. drag on the mini-map after click the ‘Show Map’ button under the topic title.
  2. the mini-map will close immediately when try to drag or click on the mini-map internally.

Example

  1. Locations Plugin - #1069 by Bathinda - plugin - Discourse Meta
  2. Bathinda Helper 's reply

Logs

  1. Locations Plugin - #1069 by Bathinda - plugin - Discourse Meta
  2. Bathinda Helper 's reply

This should be fixed now, please confirm:

(Dev note: this has highlighted some significant duplication in code that was hidden before I migrated more things to gjs- a good TODO here is to resolve that)

1 Like