Skip to content

FORM element adjacent to a named field messes up overlays #137

@lua-vr

Description

@lua-vr

It seems that having a FORM element right next to a field element can leave the overlays in a bad state. Consider the following three tempel expansions:

(tempel-insert '((if (length> str 1) "{" "") " " (s str) " " (if (length> str 1) "}" "")))
(tempel-insert '((if (length> str 1) "{" "")     (s str)     (if (length> str 1) "}" "")))
(tempel-insert '((if (length> str 1) "y" "n")    (s str)     (if (length> str 1) "y" "n")))

In the first one, the FORM elements work as expected. In the second one, both FORM overlays appear behind the field, and in the third one both FORM overlays appear after the named field. They also stop updating correctly on further input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions