This is a migrated thread and some comments may be shown as answers.

Angular2 DialogService focus problem

2 Answers 127 Views
Dialog
This is a migrated thread and some comments may be shown as answers.
BigzampanoXXl
Top achievements
Rank 1
BigzampanoXXl asked on 30 Oct 2017, 10:58 AM

Hello,

 

I checked out the DialogService for angular 2 and it seems that I found a little bug which is also reproducible in the first plunker demo of your examples at  https://www.telerik.com/kendo-angular-ui/components/dialog/service/

When the dialog is opened and you press the enter-key of your keyboard, the dialog opens again (and again, and again,...). In my opinion the focus should be set to the primary button of the dialog but it seems that the focus is still on the button which opens the dialog.

 

Is there any workaround for this problem or will this be fixed in the near future?

 

Thank you,

Best regards!

2 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 31 Oct 2017, 08:38 AM
Hello,

Thank you for taking the time to report this. We have already logged the issue on Github, along with a suggested workaround. Once the Dialog keyboard support feature is implemented, this problem will be resolved.

Regards,
Alex Gyoshev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
BigzampanoXXl
Top achievements
Rank 1
answered on 02 Nov 2017, 08:26 AM

Hello,

thank you for your help. I will have a look at this. 

Best regards.

Tags
Dialog
Asked by
BigzampanoXXl
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
BigzampanoXXl
Top achievements
Rank 1
Share this question
or