mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 22:02:24 -06:00
[GH-ISSUE #143] SetInterval() doesn't work properly #86
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jakubtelec on GitHub (May 22, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/143
Problem: SetInterval() seems to work only when mouse cursor is moving inside app's window.
(also: strange comma appears in the middle of
<Text>component)Os: Windows 10 and Ubuntu 16.04
How does it look like:
Code:
@parro-it commented on GitHub (May 22, 2018):
What version are you using? That problem should be solved in last version that use 0.2.0 version of libui-node
@mischnic commented on GitHub (May 22, 2018):
No.
startLoopis only called inrender(<Example />). So before, the node'ssetTimeoutis used when declaring the component functions.@parro-it commented on GitHub (May 22, 2018):
Oh, yes, we didn't think of this use case... I don't know how we can solve it, but the napi version should not have this problem anymore. Or we can also back port the fix in event loop to version 0.3.0
@jakubtelec commented on GitHub (May 28, 2018):
After update SetInterval() works fine, so I'm closing the issue.