software-mansion / software-mansion/react-native-enriched-html

[Bug] `androidExperimentalSynchronousEvents` not working reliably

Open
#229 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Maintainer issue
Dominant language
C
Stars
1.4k
Forks
66
Avg merge
4d 19h
Merged PRs (30d)
11

Description

Describe the bug
androidExperimentalSynchronousEvents is a feature flag that solves some layout related issues, like expanding view due to auto-grow mechanism. However, it's still not stable enough to enable it by default.

This issue is to track bugs with this flag enabled:

  • enabling styles by calling a ref method does not emit onStylesChange event
  • setting up mention does not emit event until text is modified again

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides no file, test, or entry point; start by reproducing the behavior with androidExperimentalSynchronousEvents enabled for ref-applied styles and mention setup. Done means both cases emit their expected events immediately: onStylesChange for styles and the mention event without requiring a later text modification.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.