Dialog close without selecting the value into text fields on on Simulator
up vote
1
down vote
favorite
I use the dialog to display date range control. On Simulator before selecting the value dialog closes and I'm not able to change or update any value. Please see the code below. Please advise if there is any known issue.
codenameone
add a comment |
up vote
1
down vote
favorite
I use the dialog to display date range control. On Simulator before selecting the value dialog closes and I'm not able to change or update any value. Please see the code below. Please advise if there is any known issue.
codenameone
Which dialog? The picker or the popup? I'm guessing the lightweight picker triggered something here but we'll need an isolated test case
– Shai Almog
Nov 5 at 4:06
@Shai...Popup itself closes on selection on the picker.
– LC1
Nov 6 at 3:19
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I use the dialog to display date range control. On Simulator before selecting the value dialog closes and I'm not able to change or update any value. Please see the code below. Please advise if there is any known issue.
codenameone
I use the dialog to display date range control. On Simulator before selecting the value dialog closes and I'm not able to change or update any value. Please see the code below. Please advise if there is any known issue.
codenameone
codenameone
edited 2 days ago
asked Nov 5 at 1:41
LC1
42417
42417
Which dialog? The picker or the popup? I'm guessing the lightweight picker triggered something here but we'll need an isolated test case
– Shai Almog
Nov 5 at 4:06
@Shai...Popup itself closes on selection on the picker.
– LC1
Nov 6 at 3:19
add a comment |
Which dialog? The picker or the popup? I'm guessing the lightweight picker triggered something here but we'll need an isolated test case
– Shai Almog
Nov 5 at 4:06
@Shai...Popup itself closes on selection on the picker.
– LC1
Nov 6 at 3:19
Which dialog? The picker or the popup? I'm guessing the lightweight picker triggered something here but we'll need an isolated test case
– Shai Almog
Nov 5 at 4:06
Which dialog? The picker or the popup? I'm guessing the lightweight picker triggered something here but we'll need an isolated test case
– Shai Almog
Nov 5 at 4:06
@Shai...Popup itself closes on selection on the picker.
– LC1
Nov 6 at 3:19
@Shai...Popup itself closes on selection on the picker.
– LC1
Nov 6 at 3:19
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
This is probably related to this line:
range.setDisposeWhenPointerOutOfBounds(true);
When you start interacting with the Picker popup, it disposes the dialog because the pointer it outside the bounds of the underlying dialog.
I have made a change to Dialog that will be available in the next update on Friday that will fix this issue.
https://github.com/codenameone/CodenameOne/commit/2c5fbfc9ae06e35911b5832441a685724e9739a0
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
This is probably related to this line:
range.setDisposeWhenPointerOutOfBounds(true);
When you start interacting with the Picker popup, it disposes the dialog because the pointer it outside the bounds of the underlying dialog.
I have made a change to Dialog that will be available in the next update on Friday that will fix this issue.
https://github.com/codenameone/CodenameOne/commit/2c5fbfc9ae06e35911b5832441a685724e9739a0
add a comment |
up vote
1
down vote
This is probably related to this line:
range.setDisposeWhenPointerOutOfBounds(true);
When you start interacting with the Picker popup, it disposes the dialog because the pointer it outside the bounds of the underlying dialog.
I have made a change to Dialog that will be available in the next update on Friday that will fix this issue.
https://github.com/codenameone/CodenameOne/commit/2c5fbfc9ae06e35911b5832441a685724e9739a0
add a comment |
up vote
1
down vote
up vote
1
down vote
This is probably related to this line:
range.setDisposeWhenPointerOutOfBounds(true);
When you start interacting with the Picker popup, it disposes the dialog because the pointer it outside the bounds of the underlying dialog.
I have made a change to Dialog that will be available in the next update on Friday that will fix this issue.
https://github.com/codenameone/CodenameOne/commit/2c5fbfc9ae06e35911b5832441a685724e9739a0
This is probably related to this line:
range.setDisposeWhenPointerOutOfBounds(true);
When you start interacting with the Picker popup, it disposes the dialog because the pointer it outside the bounds of the underlying dialog.
I have made a change to Dialog that will be available in the next update on Friday that will fix this issue.
https://github.com/codenameone/CodenameOne/commit/2c5fbfc9ae06e35911b5832441a685724e9739a0
answered Nov 5 at 17:29
steve hannah
3,286612
3,286612
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53147275%2fdialog-close-without-selecting-the-value-into-text-fields-on-on-simulator%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Which dialog? The picker or the popup? I'm guessing the lightweight picker triggered something here but we'll need an isolated test case
– Shai Almog
Nov 5 at 4:06
@Shai...Popup itself closes on selection on the picker.
– LC1
Nov 6 at 3:19