Katja Lutz ~ katywings on Nostr: Lets say, I "decorated" it, it's a feature now 🥳. The bug was that in certain ...
Lets say, I "decorated" it, it's a feature now 🥳.
The bug was that in certain situations a richtext editor fully rerendered itself while entering text, resulting in a loss of focus. Since the rerender is caused by deep architectural decisions, I could not get rid of it, but I could change its timing, so now the rerender happens before the user focuses the editor ☺️. Not completely happy with the solution, but better than loosing focus while entering text 😂.
Published at
2023-09-13 11:45:19Event JSON
{
"id": "68541a21d767b1c06eb7f6debcc4d9cd769e036636223d87a1e3f52868a3600f",
"pubkey": "caf0b76c5efcc2498bd77ab23c9a3f4c64b13f79a9cd7633ce08fd556f8c4a43",
"created_at": 1694598319,
"kind": 1,
"tags": [
[
"e",
"dcd4765177b7b89df9b5748dfa832acdcfeecb77443856222a3278181febc14c",
"",
"root"
],
[
"e",
"58b95e70685ae809b452d4d68f97adda77b0fa7e77341e0b8eeac3124cc2426a"
],
[
"e",
"580b0db70c93e24ab04664b52dfd029ee36c107994d97adf6f1e2b9e367f78ca",
"",
"reply"
],
[
"p",
"caf0b76c5efcc2498bd77ab23c9a3f4c64b13f79a9cd7633ce08fd556f8c4a43"
],
[
"p",
"6e75f7972397ca3295e0f4ca0fbc6eb9cc79be85bafdd56bd378220ca8eee74e"
]
],
"content": "Lets say, I \"decorated\" it, it's a feature now 🥳.\n\nThe bug was that in certain situations a richtext editor fully rerendered itself while entering text, resulting in a loss of focus. Since the rerender is caused by deep architectural decisions, I could not get rid of it, but I could change its timing, so now the rerender happens before the user focuses the editor ☺️. Not completely happy with the solution, but better than loosing focus while entering text 😂.",
"sig": "08193a9e9277a273f2be4a49d57f224848b3ec1f150583382634547250c473d74f0839ed5b4c93a3bc82f8d180eb4b0b673d0c6640085f0cf7afbd9e37af4ab5"
}