Skip to content

Toggling an issue discussion does not load the comment draft

Summary

Toggling a discussion in an issue or on the discussion tab of a merge request only displays the comment draft after full page reload.

Steps to reproduce

  • open issue or merge request (discussion tab)
  • create new discussion
  • start writing a comment (but don't submit)
  • click collapse replies
  • expand replies again

Example Project

https://gitlab.com/reproduction-group/foobar/issues/3

What is the current bug behavior?

comment draft gets hidden:

invisible-draft

What is the expected correct behavior?

comment draft is visible