Skip to content

Commit 040eb49

Browse files
committed
make field editor keyed to avoid cursor jumps
1 parent d1c830f commit 040eb49

File tree

1 file changed

+1
-0
lines changed
  • ghcjs/miso-functora/src/Functora/Miso/Widgets

1 file changed

+1
-0
lines changed

ghcjs/miso-functora/src/Functora/Miso/Widgets/Field.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ field full@Full {fullArgs = args, fullParser = parser, fullViewer = viewer} opts
150150
Nothing -> id
151151
Just x ->
152152
singleton
153+
. keyed ("field-" <> uidTxt)
153154
. label_
154155
[ style_
155156
[ ("display", "flex"),

0 commit comments

Comments
 (0)