mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
feat: hotfix wysiwyg editor crashes and freezes (MESSENGER-8082)
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
Changes in BWI project 2.27.3 (2026-02-09)
|
||||
===================================================
|
||||
|
||||
Improvements 🙌:
|
||||
- MESSENGER-8082 Use latest version of wysiwyg editor to fix crashes on fast tipping
|
||||
|
||||
Bugfix 🙌:
|
||||
- MESSENGER-8116 Fix freeze caused by recursion in view height change caused by the wysiwyg editor
|
||||
|
||||
Changes in BWI project 2.27.0 (2025-12-09)
|
||||
===================================================
|
||||
|
||||
|
||||
@@ -17,5 +17,5 @@
|
||||
|
||||
// Version
|
||||
|
||||
MARKETING_VERSION = 2.26.0
|
||||
MARKETING_VERSION = 2.27.3
|
||||
CURRENT_PROJECT_VERSION = 20220714163152
|
||||
|
||||
@@ -26,6 +26,19 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p>
|
||||
<b>Version 2.27.3</b>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Behobene Bugs</b>
|
||||
<ul>
|
||||
<li/>Wir haben Abstürze und Einfrieren bei der Texteingabe mit dem neuen Editor behoben.
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<p>
|
||||
<b>Version 2.27.0</b>
|
||||
|
||||
@@ -380,8 +380,12 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
|
||||
}
|
||||
|
||||
private func updateToolbarHeight(wysiwygHeight: CGFloat) {
|
||||
self.heightConstraint.constant = wysiwygHeight
|
||||
toolbarViewDelegate?.roomInputToolbarView?(self, heightDidChanged: wysiwygHeight, completion: nil)
|
||||
|
||||
// bwi: #8116 fix freeze caused by rouding errors
|
||||
if (wysiwygHeight - self.heightConstraint.constant).magnitude > 1 {
|
||||
self.heightConstraint.constant = wysiwygHeight
|
||||
toolbarViewDelegate?.roomInputToolbarView?(self, heightDidChanged: wysiwygHeight, completion: nil)
|
||||
}
|
||||
}
|
||||
|
||||
private func sendWysiwygMessage(content: WysiwygComposerContent) {
|
||||
|
||||
@@ -67,7 +67,7 @@ packages:
|
||||
maxVersion: 3.5.0
|
||||
WysiwygComposer:
|
||||
url: https://github.com/element-hq/matrix-rich-text-editor-swift
|
||||
exactVersion: 2.37.12
|
||||
exactVersion: 2.41.0
|
||||
DeviceKit:
|
||||
url: https://github.com/devicekit/DeviceKit
|
||||
majorVersion: 4.7.0
|
||||
|
||||
Reference in New Issue
Block a user