on develop help sign in
Add a comment on postBuild
commite634643bddae18a9c898667af25c029306c78bae authorRyan Trinkle <ryan.trinkle@gmail.com> dateWed 29 Apr 2015, 16:51 (11 years ago) parent676933e
1 file changed+1−1
src/Reflex/Dom/Internal.hs+1−1
src/Reflex/Dom/Internal.hs+1−1
@@ -246,7 +246,7 @@ attachWidget rootElement wv w = runSpiderHost $ flip runWithWebView wv $ do --TO
246246 Just df <- liftIO $ documentCreateDocumentFragment doc
247247 (result, voidAction) <- runHostFrame $ flip runGui guiEnv $ do
248248 (r, postBuild, va) <- runWidget df w
249− postBuild
249+ postBuild -- This probably shouldn't be run inside the frame; we need to make sure we don't run a frame inside of a frame
250250 return (r, va)
251251 liftIO $ htmlElementSetInnerHTML rootElement ""
252252 _ <- liftIO $ nodeAppendChild rootElement $ Just df