- From: Zhou Shuangshuang <notifications@github.com>
- Date: Wed, 21 Feb 2024 00:42:15 -0800
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 February 2024 08:42:19 UTC
I see. Maybe the logic here is something like below? ``` if (!document.selection_change_event_scheduled) { post_selection_change_task(); document.selection_change_event_scheduled = true; ... } ..... selection_change_task_callback(){ ... document.selection_change_event_scheduled = false; } ``` -- Reply to this email directly or view it on GitHub: https://github.com/w3c/selection-api/issues/170#issuecomment-1956147326 You are receiving this because you are subscribed to this thread. Message ID: <w3c/selection-api/issues/170/1956147326@github.com>
Received on Wednesday, 21 February 2024 08:42:19 UTC