specify / specify7

Specify 7
https://www.specifysoftware.org/products/specify-7/
GNU General Public License v2.0
62 stars 36 forks source link

verticalAlign=center not showing in Visual Editor preview #4752

Open combs-a opened 5 months ago

combs-a commented 5 months ago

Describe the bug verticalAlign=center doesn't show in the Visual Editor preview until you reload the page.

To Reproduce Steps to reproduce the behavior:

  1. Go to App Resources -> form definition that has a subview next to another panel (horizontal) -> Edit. (i.e. https://sdnhmherps2824-edge.test.specifysystems.org/specify/resources/view-set/5/CollectionObject/CollectionObject)
  2. In the editor, go to the subview. (in link above, collectionObjectAttachments)
  3. Give verticalAlign the center property.
  4. See that preview doesn't update.

Expected behavior For it to be vertically centered in the preview without needing to reload.

Screenshots

https://github.com/specify/specify7/assets/71564869/05ba062b-f692-4de2-abab-ba957542761b

Additional context When inspecting with developer tools, it does have the center property, and it does also get applied to forms, though seeing it on forms may require clearing the cache.

CarolineDenis commented 5 months ago

need to save to see the changes. but works

maxpatiiuk commented 5 months ago

need to save to see the changes. but works

that's a bug then. Form Editor is supposed to provide "live preview"

emenslin commented 2 months ago

Can recreate in edge (7.9.6)