Certain features are disabled when clicked but not used

(John ) #1

Continuing the discussion from Save button is deactivated on create groups page:

To reproduce:

  1. Click the flag icon beneath this post
  2. Decide you’re not sure about flagging, hit escape
  3. Decide you actually do want to flag the post, click the flag icon again.
  4. The flag icon is highlighted, but nothing else happens.
  5. console gives Uncaught TypeError: Cannot read property 'prop' of undefined

This affects all flag buttons on the page.

I’ve also observed similar behaviour on:

  • The save button on the groups page
  • The invite button on a topic page
  • The image upload button in the post editing view <-- most frequent and annoying instance for sure.

(Régis Hanol) #2

Just fixed the issue when pressing ESC while a modal is open.


(John ) #3

Amazing response time. Thanks!

(Régis Hanol) #4

The invite button on a topic page is still messed up though. Not sure why it’s acting differently :frowning: (got any idea @eviltrout ?)

(Robin Ward) #5

That was surprisingly difficult to fix, and exposed a different leak/bug that I had to fix as well:


(Jeff Atwood) #6