Hello
I've just upgraded from KendoUI v2017.3.913 to KendoUI v2018.1.221 and had some not nice visual changes in kendoDialog and kendoConfirm.
See attachment:
- KendoUI v2017_3_13.png : How it was and how I would like to have it again
- KendoUI v2018_1_221.png : Screwed up in latest KendoUI version
Two unwanted things in latest release:
1. Pressed button, ignoring content
2. Unwanted grey bar at the bottom of the dialog (same bar with title activated)
-> I have the exactly same problem in kendoDialog and kendoConfirm.
To point 1:
Of course it works in your widget samples, so I made a standalone sample (outside from my project). The button appears but is not fully visible. I have the fully working code here:
<!DOCTYPE html>
<html lang=
"en"
>
<head>
<meta charset=
"UTF-8"
>
<!-- Telerik Framework -->
<link rel=
"stylesheet"
href=
"http://kendo.cdn.telerik.com/2018.1.221/styles/kendo.common.min.css"
/>
<link rel=
"stylesheet"
href=
"http://kendo.cdn.telerik.com/2018.1.221/styles/kendo.blueopal.min.css"
/>
<script src=
"http://kendo.cdn.telerik.com/2018.1.221/js/jquery.min.js"
></script>
<script src=
"http://kendo.cdn.telerik.com/2018.1.221/js/kendo.all.min.js"
></script>
<!-- Font Awesome -->
<script defer src=
"https://use.fontawesome.com/releases/v5.0.6/js/all.js"
></script>
<style type=
"text/css"
>
.green {
color:
#208e14;
}
</style>
<script>
$(document).ready(
function
() {
$(
"#dialog"
).kendoDialog({
title:
false
,
width: 900,
height: 400,
closable:
false
,
buttonLayout:
"normal"
,
actions: [{
text:
"<i class='fas fa-check green' style='font-size: 18px; width: 30px;'></i>"
,
action:
function
(e){
// e.sender is a reference to the dialog widget object
alert(
"OK action was clicked"
);
// Returning false will prevent the closing of the dialog
return
true
;
},
}]
});
});
</script>
</head>
<body>
<div id=
"dialog"
></div>
</body>
</html>
The fact the button is pressed in my project is a problem I have to find but I don't understand why the button is not centered/fully visible in the code above.
To point 2 (grey bar):
I've checked the API documentation of kendoDialog and kendoConfirm how to get rid off that grey bar but couldn't find something. If I wanted a grey bar I would place it by myself. So I don't understand why Telerik changed the layout that way
The question here is: How can I get rid off that unwanted grey bar at the bottom (probably same way as on top with active title).
Regards