Open lanitochka17 opened 18 hours ago
Triggered auto assignment to @bfitzexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@bfitzexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
The composer height shrinks to its normal size with a delay after sending a long message.
We can notice two steps after sending a message: 1) the composer is cleared. 2) the expand button is removed. Between 1 and 2, there is an intermediate state that the composer is empty, but the expand button is still visible.
Some processes take place during this period, including 1) layout recalculation, 2) TextInput
detecting layout changes and emitting the onContentSizeChange
event, 3) the composer receiving the onContentSizeChange
event,
4) setting isFullComposerAvailable
to false
,
and 5) removing the expand button.
Directly set isFullComposerAvailable
to false
after the composer is cleared by adding setIsFullComposerAvailable(false)
in the composer’s onClear
event handler.
N/A
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.56-2 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5171395&group_by=cases:section_id&group_order=asc&group_id=292106 Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Compose box should be automatically reduced after sending message with several line breaks
Actual Result:
After sending a message with ten or more line breaks, compose box is reduced with delay. It can be seen expanded without any message inside for a second
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/5a5899e2-d615-4e0a-a884-db59a381ad79
View all open jobs on GitHub