1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-30 08:26:59 +02:00
joplin/packages
Caleb John 7a9ec627ee
Desktop: Resolves #5233: Fire resize event whenever the layout changes (#5344)
* Fire resize event whenever the layout changes

This solves an issue where the markdown editor was changing size
physically, but the refresh function wasn't being called so the
editor would lose track of it's size and place the cursor wrongly.
The editor was able to correctly resize when the window resize event
was fired, but this didn't happen when the sidebars were toggled.
The solution implemented here is to hook in to the function where
layout props are changed, and emit a resize event there.
This means that anytime the layout changes (whether or not it affects
sizing), the resize event will be fired.
2021-09-19 11:36:23 +01:00
..
app-cli Tools: Tweak to stress test script 2021-09-17 18:27:25 +01:00
app-clipper Tools: Setup release 2.4 2021-08-21 10:46:46 +01:00
app-desktop Desktop: Resolves #5233: Fire resize event whenever the layout changes (#5344) 2021-09-19 11:36:23 +01:00
app-mobile Desktop, Mobile: Resolves #5295: Update Mermaid 8.10.2 -> 8.12.1 and fix gitGraph crash (#5448) 2021-09-11 19:47:01 +01:00
fork-htmlparser2 Releasing sub-packages 2021-09-02 18:40:37 +01:00
fork-sax Releasing sub-packages 2021-09-02 18:40:37 +01:00
generator-joplin Tools: Setup release 2.4 2021-08-21 10:46:46 +01:00
lib Desktop: Support for user-data-dir flag (#5467) 2021-09-19 11:34:04 +01:00
plugin-repo-cli Releasing sub-packages 2021-09-02 18:40:37 +01:00
plugins
renderer Tools: Upgrade back package-lock files to v2 2021-09-12 16:34:03 +01:00
server Server, Desktop: Sync deleted items first to allow fixing oversized accounts 2021-09-18 15:02:24 +01:00
tools All: Translation: Update ar.po (#5464) 2021-09-15 06:39:50 -04:00
turndown Releasing sub-packages 2021-09-02 18:40:37 +01:00
turndown-plugin-gfm Releasing sub-packages 2021-09-02 18:40:37 +01:00
style.min.css Tools: Added script to compile SASS files 2021-09-12 16:35:08 +01:00