Inline html breaks preview


(David Miguel) #1

Bug report

The preview is broken after entering inline HTML.

Info

  • Platform: macOS
  • Platform version: Sierra 10.13.6
  • App Version: 3.22.0

Reproduce

  1. Create a new note
  2. Select split view
  3. Type: <b>this is bold text</b>
  4. Press enter and write something else (without html tags). E.g: asdf asdf
  5. Delete the “something else” -> preview is frozen. Even if you select another note, the preview doesn’t refresh. Just restarting the app fixes it.

Error logs:

[Violation] Forced reflow while executing JavaScript took 49ms
/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/debug/src/debug.js:115 Failed to render preview: Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.
    at invariant (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/node_modules/fbjs/lib/invariant.js:35:15)
    at Object.processUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/DOMChildrenOperations.js:75:473)
    at Object.dangerouslyProcessChildrenUpdates [as processChildrenUpdates] (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMIDOperations.js:85:27)
    at processQueue (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactMultiChild.js:160:31)
    at ReactDOMComponent.updateChildren (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactMultiChild.js:334:13)
    at ReactDOMComponent._updateDOMChildren (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:871:12)
    at ReactDOMComponent.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:700:10)
    at ReactDOMComponent.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:645:10)
    at Object.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:87:22)
    at ReactCompositeComponentWrapper._updateRenderedComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:562:23)
    at ReactCompositeComponentWrapper._performComponentUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:544:10)
    at ReactCompositeComponentWrapper.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:473:12)
    at ReactCompositeComponentWrapper.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:405:10)
    at Object.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:87:22)
    at ReactCompositeComponentWrapper._updateRenderedComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:562:23)
    at ReactCompositeComponentWrapper._performComponentUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:544:10)
    at ReactCompositeComponentWrapper.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:473:12)
    at ReactCompositeComponentWrapper.performUpdateIfNecessary (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:421:12)
    at Object.performUpdateIfNecessary (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:102:22)
    at runBatchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:129:21)
    at ReactReconcileTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at ReactUpdatesFlushTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at ReactUpdatesFlushTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:86:38)
    at Object.flushBatchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:147:19)
    at ReactDefaultBatchingStrategyTransaction.closeAll (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:202:25)
    at ReactDefaultBatchingStrategyTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:149:16)
    at Object.batchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDefaultBatchingStrategy.js:62:19)
    at Object.enqueueUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:176:22)
    at enqueueUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdateQueue.js:24:16)
    at Object.enqueueSetState (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdateQueue.js:190:5)
    at Constructor.ReactComponent.setState (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactComponent.js:65:16)
    at Constructor.onChange (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/alt-utils/lib/connectToStores.js:101:14)
    at /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/transmitter/dist/transmitter.js:34:50
    at Array.forEach (native)
    at Object.publish (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/transmitter/dist/transmitter.js:33:21)
    at emitChange (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:169252)
    at Object.dispatchToken.e.dispatcher.register.e [as ID_5] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:169835)
    at Dispatcher._invokeCallback (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:198:24)
    at Dispatcher.dispatch (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:174:14)
    at batchingFunction (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162593)
    at e.batchingFunction.e.batchingFunction.e [as batchingFunction] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162082)
    at e.dispatch (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162281)
    at c (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:173625)
    at Object.u [as renderSuccess] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:173758)
    at /Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:61133
    at <anonymous>
debug @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/debug/src/debug.js:115
(anonymous) @ browser-main.js:1
/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/node_modules/fbjs/lib/inva…:35 Uncaught (in promise) Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.
    at invariant (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/node_modules/fbjs/lib/invariant.js:35:15)
    at Object.processUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/DOMChildrenOperations.js:75:473)
    at Object.dangerouslyProcessChildrenUpdates [as processChildrenUpdates] (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMIDOperations.js:85:27)
    at processQueue (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactMultiChild.js:160:31)
    at ReactDOMComponent.updateChildren (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactMultiChild.js:334:13)
    at ReactDOMComponent._updateDOMChildren (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:871:12)
    at ReactDOMComponent.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:700:10)
    at ReactDOMComponent.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:645:10)
    at Object.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:87:22)
    at ReactCompositeComponentWrapper._updateRenderedComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:562:23)
    at ReactCompositeComponentWrapper._performComponentUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:544:10)
    at ReactCompositeComponentWrapper.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:473:12)
    at ReactCompositeComponentWrapper.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:405:10)
    at Object.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:87:22)
    at ReactCompositeComponentWrapper._updateRenderedComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:562:23)
    at ReactCompositeComponentWrapper._performComponentUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:544:10)
    at ReactCompositeComponentWrapper.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:473:12)
    at ReactCompositeComponentWrapper.performUpdateIfNecessary (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:421:12)
    at Object.performUpdateIfNecessary (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:102:22)
    at runBatchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:129:21)
    at ReactReconcileTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at ReactUpdatesFlushTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at ReactUpdatesFlushTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:86:38)
    at Object.flushBatchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:147:19)
    at ReactDefaultBatchingStrategyTransaction.closeAll (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:202:25)
    at ReactDefaultBatchingStrategyTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:149:16)
    at Object.batchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDefaultBatchingStrategy.js:62:19)
    at Object.enqueueUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:176:22)
    at enqueueUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdateQueue.js:24:16)
    at Object.enqueueSetState (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdateQueue.js:190:5)
    at Constructor.ReactComponent.setState (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactComponent.js:65:16)
    at Constructor.onChange (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/alt-utils/lib/connectToStores.js:101:14)
    at /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/transmitter/dist/transmitter.js:34:50
    at Array.forEach (native)
    at Object.publish (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/transmitter/dist/transmitter.js:33:21)
    at emitChange (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:169252)
    at Object.dispatchToken.e.dispatcher.register.e [as ID_5] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:169835)
    at Dispatcher._invokeCallback (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:198:24)
    at Dispatcher.dispatch (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:174:14)
    at batchingFunction (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162593)
    at e.batchingFunction.e.batchingFunction.e [as batchingFunction] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162082)
    at e.dispatch (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162281)
    at c (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:173625)
    at Object.u [as renderFailure] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:173758)
    at /Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:61684
    at <anonymous>
invariant @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/node_modules/fbjs/lib/inva…:35
processUpdates @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/DOMChildrenOperations.…:75
dangerouslyProcessChildrenUpdates @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMIDOperations.js:85
processQueue @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactMultiChild.js:160
updateChildren @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactMultiChild.js:334
_updateDOMChildren @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:871
updateComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:700
receiveComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:645
receiveComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:87
_updateRenderedComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponen…:562
_performComponentUpdate @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponen…:544
updateComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponen…:473
receiveComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponen…:405
receiveComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:87
_updateRenderedComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponen…:562
_performComponentUpdate @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponen…:544
updateComponent @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponen…:473
performUpdateIfNecessary @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponen…:421
performUpdateIfNecessary @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:102
runBatchedUpdates @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:129
perform @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136
perform @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136
perform @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:86
flushBatchedUpdates @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:147
closeAll @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:202
perform @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:149
batchedUpdates @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDefaultBatchingSt…:62
enqueueUpdate @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:176
enqueueUpdate @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdateQueue.js:24
enqueueSetState @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdateQueue.js:190
ReactComponent.setState @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactComponent.js:65
onChange @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/alt-utils/lib/connectToStores.js:101
(anonymous) @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/transmitter/dist/transmitter.js:34
publish @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/transmitter/dist/transmitter.js:33
emitChange @ browser-main.js:1
dispatchToken.e.dispatcher.register.e @ browser-main.js:1
_invokeCallback @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:198
dispatch @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:174
batchingFunction @ browser-main.js:1
batchingFunction.e.batchingFunction.e @ browser-main.js:1
dispatch @ browser-main.js:1
c @ browser-main.js:1
u @ browser-main.js:1
(anonymous) @ browser-main.js:1
/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/debug/src/debug.js:115 Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.
    at invariant (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/node_modules/fbjs/lib/invariant.js:35:15)
    at Object.processUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/DOMChildrenOperations.js:75:473)
    at Object.dangerouslyProcessChildrenUpdates [as processChildrenUpdates] (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMIDOperations.js:85:27)
    at processQueue (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactMultiChild.js:160:31)
    at ReactDOMComponent.updateChildren (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactMultiChild.js:334:13)
    at ReactDOMComponent._updateDOMChildren (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:871:12)
    at ReactDOMComponent.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:700:10)
    at ReactDOMComponent.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDOMComponent.js:645:10)
    at Object.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:87:22)
    at ReactCompositeComponentWrapper._updateRenderedComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:562:23)
    at ReactCompositeComponentWrapper._performComponentUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:544:10)
    at ReactCompositeComponentWrapper.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:473:12)
    at ReactCompositeComponentWrapper.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:405:10)
    at Object.receiveComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:87:22)
    at ReactCompositeComponentWrapper._updateRenderedComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:562:23)
    at ReactCompositeComponentWrapper._performComponentUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:544:10)
    at ReactCompositeComponentWrapper.updateComponent (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:473:12)
    at ReactCompositeComponentWrapper.performUpdateIfNecessary (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactCompositeComponent.js:421:12)
    at Object.performUpdateIfNecessary (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactReconciler.js:102:22)
    at runBatchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:129:21)
    at ReactReconcileTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at ReactUpdatesFlushTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at ReactUpdatesFlushTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:86:38)
    at Object.flushBatchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:147:19)
    at ReactDefaultBatchingStrategyTransaction.closeAll (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:202:25)
    at ReactDefaultBatchingStrategyTransaction.perform (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:149:16)
    at Object.batchedUpdates (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDefaultBatchingStrategy.js:62:19)
    at Object.enqueueUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:176:22)
    at enqueueUpdate (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdateQueue.js:24:16)
    at Object.enqueueSetState (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdateQueue.js:190:5)
    at Constructor.ReactComponent.setState (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/react/lib/ReactComponent.js:65:16)
    at Constructor.onChange (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/alt-utils/lib/connectToStores.js:101:14)
    at /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/transmitter/dist/transmitter.js:34:50
    at Array.forEach (native)
    at Object.publish (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/transmitter/dist/transmitter.js:33:21)
    at emitChange (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:169252)
    at Object.dispatchToken.e.dispatcher.register.e [as ID_1] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:169835)
    at Dispatcher._invokeCallback (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:198:24)
    at Dispatcher.dispatch (/Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:174:14)
    at batchingFunction (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162593)
    at e.batchingFunction.e.batchingFunction.e [as batchingFunction] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162082)
    at e.dispatch (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:162281)
    at c (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:173625)
    at r (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:8939)
    at Object.u [as update] (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:173746)
    at D.default.defer (/Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:1:110822)
    at /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/lodash/lodash.js:2770:43
debug @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/debug/src/debug.js:115
r @ browser-main.js:1
u @ browser-main.js:1
D.default.defer @ browser-main.js:1
(anonymous) @ /Applications/Inkdrop.app/Contents/Resources/app.asar/node_modules/lodash/lodash.js:2770

Clicking on a note does not navigate to it
(Takuya Matsuyama) #2

Thank you for the report.
The implementation for Inline HTML uses dangerouslySetInnerHTML in React component and it leads some unstable behavior, i guess.

The problem is that current React version is quite old. I’m planning to rebuild the desktop app just as I did for the mobile app recently and React version will be upgraded to the latest. I hope then the problem will be resolved.


(David Miguel) #3

Thanks for the quick response. Looking forward to the rebuild :grinning:

Best regards!


(Takuya Matsuyama) #4

Bump it up just for the next release. Working on it


(Takuya Matsuyama) #5

reported a bug in a Markdown parser:

It will be more stable once it got fixed.


(Takuya Matsuyama) #6

memo: remark-rehype, rehype-raw, rehype-react


(Takuya Matsuyama) #7

v3.23.0 should fix this problem. Thanks again for reporting!

https://doc.inkdrop.info/releases#v3-23-0