diff --git a/CHANGES_BWI.md b/CHANGES_BWI.md index eec6a4ed4..084c082ba 100644 --- a/CHANGES_BWI.md +++ b/CHANGES_BWI.md @@ -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) =================================================== diff --git a/Config/AppVersion.xcconfig b/Config/AppVersion.xcconfig index 94c661017..210d4c2c8 100644 --- a/Config/AppVersion.xcconfig +++ b/Config/AppVersion.xcconfig @@ -17,5 +17,5 @@ // Version -MARKETING_VERSION = 2.26.0 +MARKETING_VERSION = 2.27.3 CURRENT_PROJECT_VERSION = 20220714163152 diff --git a/Riot/Assets/new_features.html b/Riot/Assets/new_features.html index 3a20c99b8..21ff34788 100644 --- a/Riot/Assets/new_features.html +++ b/Riot/Assets/new_features.html @@ -26,6 +26,19 @@ +
+

+ Version 2.27.3 +

+ +

+ Behobene Bugs +

+

+ +

Version 2.27.0 diff --git a/Riot/Modules/Room/Views/WYSIWYGInputToolbar/WysiwygInputToolbarView.swift b/Riot/Modules/Room/Views/WYSIWYGInputToolbar/WysiwygInputToolbarView.swift index a1e7f8256..005e9260c 100644 --- a/Riot/Modules/Room/Views/WYSIWYGInputToolbar/WysiwygInputToolbarView.swift +++ b/Riot/Modules/Room/Views/WYSIWYGInputToolbar/WysiwygInputToolbarView.swift @@ -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) { diff --git a/project.yml b/project.yml index 675212b15..be1a146e0 100644 --- a/project.yml +++ b/project.yml @@ -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