Currently the sticky header waits for the ve.activate hook before hiding itself and letting the editing toolbar be seen.
This is sometimes the correct timing but not necessarily, there are two scenarios where the editing toolbar is ready sooner:
- In VE we load the page content and the code in parallel. Once the code has finished loading we show the toolbar even if the page content hasn't finished loading yet. This means the toolbar could be ready visible before ve.activate which only runs when the content has loaded. This is more obvious if you load VE for the second time in a session, as the VE code is already in memory and so the toolbar will always be shown instantly.
- In VE source mode (2017 wikitext editor), we have a plain text editor that is shown immediately after edit is clicked, and while the code and page content are being fetched. We show a dummy editing toolbar which contains the loading progress bar. In this scenario the sticky header should be hidden immediately as well.
