Neos-ui: boolean editor closes creation dialog

Created on 18 Feb 2019  路  7Comments  路  Source: neos/neos-ui

I've created a repo with this issue to reproduce this bug: https://github.com/jonnitto/Neos.Issues

Description

If I have a BooleanEditor in a creationDialog and a user click on it, the creation dialog gets closed immediately.

2366

Steps to Reproduce

  1. Create a creationDialog with a BooleanEditor
  2. Create the element
  3. Click on the checkbox

Expected behavior

The creation dialog stays open

Actual behavior

The creation dialog gets closed immediately.

Affected Versions

Neos: 4.28
UI: 3.1

Bug Critical

Most helpful comment

Thanks for the testing distribution. That helped a lot. Just a small explanation what happens.
Actually the BooleanEditor always use the identifier as ID and when you have the same field in the dialog and the inspector you will control the checkbox in the inspector and not in the dialog.

Only when you click directly on the checkbox and not on the label it will work in the dialog.
The PR is on the way and I hope that solves the issue :)

All 7 comments

I don't know why, all checkboxes close their parent dialog or dropdown if clicked. Same in publish dropdown.

Probably smth to do with clickoutside behavior...

neos-create-dialog

I tried to reproduce that for document types and content but does not made it to reproduce it. Maybe it has been fixed while overhauling the UX.

I used latest Neos with UI version on 2.x branch.

Would be nice if @jonnitto can try it again.

Yes, I will

@markusguenther I've updated the repo https://github.com/jonnitto/Neos.Issues to dev-master of neos-ui. Is dev-master on the same level as the 2.x branch?

But the bug is still here:
ScreenFlow

Thanks for the testing distribution. That helped a lot. Just a small explanation what happens.
Actually the BooleanEditor always use the identifier as ID and when you have the same field in the dialog and the inspector you will control the checkbox in the inspector and not in the dialog.

Only when you click directly on the checkbox and not on the label it will work in the dialog.
The PR is on the way and I hope that solves the issue :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dimaip picture dimaip  路  5Comments

pankajlele picture pankajlele  路  6Comments

skurfuerst picture skurfuerst  路  9Comments

ComiR picture ComiR  路  5Comments

danielkestler picture danielkestler  路  8Comments