Skip to content

Can form be embedded in a vertical viewport? #455

Closed Answered by jtdaugherty
amano-kenji asked this question in Q&A
Discussion options

You must be logged in to vote

visible :: Widget n -> Widget n. n is not Widget n. Thus, visible n is wrong.

Ah yes, sorry about that. visible w means "make w visible if you can."

makeVisible :: Ord n => n -> EventM n s (), so it cannot be used in rendering functions. But, you can use this in event handlers.

I think this is actually what I was thinking of, and I forgot the exact type. Since you can just as easily access the form state in your event handler, this is probably the best way to go.

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
6 replies
@jtdaugherty
Comment options

@amano-kenji
Comment options

@amano-kenji
Comment options

@amano-kenji
Comment options

@amano-kenji
Comment options

Comment options

You must be logged in to vote
9 replies
@amano-kenji
Comment options

@jtdaugherty
Comment options

@jtdaugherty
Comment options

@amano-kenji
Comment options

@amano-kenji
Comment options

Answer selected by amano-kenji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants