I found a bug in your last update in this package:
https://www.npmjs.com/package/@progress/kendo-angular-dialog
The bug causes the modal not to show up.
In this bug you need to allways start the HTML files with the tag <kendo-dialog> and end the files </kendo-dialog> to fix the problem, which did not happen in previous versions of the package.
This bug is an issue because not even your tutorials work because of this.
Will you fix this?
Best regards André Lourenço
Not sure if this is a bug in Angular CLI, Karma, or Kendo. I wrote up a bug for Angular CLI for this as well: https://github.com/angular/angular-cli/issues/20449
Issue only tested on Windows 10 x64 with Chrome 89 installed.
ng new <app-name> --strict=true --style=scss --routing=true
@progress/kendo-theme-default
npm install @progress/kendo-theme-default --save
styles.scss
, add the following line:@import "~@progress/kendo-theme-default/scss/all";
karma.conf.js
and change the following properties: autoWatch: false
browsers: ['ChromeHeadlessCI'],
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
singleRun: true
ng test
After 2+ minutes, warning in console shows: WARN [launcher]: ChromeHeadless have not captured in 60000 ms, killing.
Then, NFO [launcher]: Trying to start ChromeHeadless again (1/2).
The second time launches without issue.
If you remove the line from styles.scss
and repeat ng test
, the problem is not visible.
Alternatively, check out this repo and run ng test :
https://github.com/acohenOT/unit-testing
Warning indicated below:
Karma v6.1.2 server started at http://localhost:9876/
05 04 2021 12:20:05.510:INFO [launcher]: Launching browsers ChromeHeadlessCI with concurrency unlimited
05 04 2021 12:20:05.536:INFO [launcher]: Starting browser ChromeHeadless
- Generating browser application bundles (phase: building)...05 04 2021 12:22:32.075:WARN [launcher]: ChromeHeadless have not captured in 60000 ms, killing.
/ Generating browser application bundles (phase: building)...05 04 2021 12:22:32.986:INFO [launcher]: Trying to start ChromeHeadless again (1/2).
√ Browser application bundle generation complete.
05 04 2021 12:22:39.009:INFO [Chrome Headless 89.0.4389.114 (Windows 10)]: Connected on socket 6ClQVkn2c_tOxxhlAAAB with id 89607273
Chrome Headless 89.0.4389.114 (Windows 10): Executed 3 of 3 SUCCESS (0.305 secs / 0.217 secs)
TOTAL: 3 SUCCESS
So the one feature we use a lot in our company revolves around PDF viewing and Image viewing within a component, where we display two or more at the same time. Showing an image is easy, but we have lots of requests for it to be zoomable and after you zoom moveable to look at parts of the image. Same goes for the PDF as we need to display it in a component next to another PDF as it is part of our Quality Check process. And when they are side-by-side they would like to be able to move and zoom each one individually.
Thanks,
Bill
Hi,
The example at the following URL is broken. See the attached screenshot for more details. Kindly fix asap. Thanks.
Regards,
Al
I very recently tried to update kendo UI to the latest version (from kendo-default-theme 4.23.0 to latest), and ran into a lot of problems, caused by the fact that I don't use the precompiled css theme styles. (removing the "node_modules/@progress/kendo-theme-default/dist/all.css" from the styles array in angular.json)
It is very opaque which styles needs to be imported for which module, and in what order they to be imported, since that seems to matter too.
Especially because there are no documentation for this at all.
For example, to get the styles for the new kendo-textbox component, the following needs to be imported in the styles.scss, AND in that specific order.
button needs to be first, and forms has to be before textbox and input
@import '~@progress/kendo-theme-default/scss/button/_index.scss';
@import '~@progress/kendo-theme-default/scss/forms/_index.scss';
@import '~@progress/kendo-theme-default/scss/textbox/_index.scss';
@import '~@progress/kendo-theme-default/scss/input/_index.scss';
which means that none of the following will compile:
@import '~@progress/kendo-theme-default/scss/forms/_index.scss';
@import '~@progress/kendo-theme-default/scss/button/_index.scss';
@import '~@progress/kendo-theme-default/scss/input/_index.scss';
@import '~@progress/kendo-theme-default/scss/textbox/_index.scss';
@import '~@progress/kendo-theme-default/scss/button/_index.scss';
@import '~@progress/kendo-theme-default/scss/input/_index.scss';
@import '~@progress/kendo-theme-default/scss/forms/_index.scss';
@import '~@progress/kendo-theme-default/scss/textbox/_index.scss';
As i see it there are two reasonable ways to solve this, where the first obviously results in the best user experience:
add spinner component, so it can be used for waiting observable variable being resolved using Angular 4 new syntax <ng-template #loading>Loading...</ng-template> <div *ngIf="userObservable | async; else loading; let user"> {{ user.name }} </div>
Any plans to implement the listview with Row Templates?
How to reproduce:
1.- Make a grid with master detail
2.- In master detail make a grid
3.- Create a context menu with options for the grid with a method so that when you click an option from the context menu it does something (console.log('Hello') for example)
4.- Create a context menu with options for the subgrid with another method so that when you click an option from the context menu it does something different (console.log('Goodbye') for example)
5.- When you click on an option from the context menu of the subgrid it will not call its function (console.log ('Goodbye')), it will call the function that triggers the context menu of the grid that contains the subgrid (console.log('Hello')
Even if a function is not set in the context menu of the subgrid it calls the function from the top context menu.
I solved it using 1 function for all context menus, but it doesn't seem like the best way to me
import { Component } from '@angular/core';
import { SchedulerEvent } from '@progress/kendo-angular-scheduler';
import { sampleData, displayDate } from './events-utc';
@Component({
selector: 'my-app',
template: `
<button (click)="days=1">1 day</button>
<button (click)="days=3">3 days</button>
<kendo-scheduler [kendoSchedulerBinding]="events" [selectedDate]="selectedDate"
startTime="07:00" endTime="19:00"
style="height: 600px;">
<kendo-scheduler-multi-day-view [numberOfDays]="days">
</kendo-scheduler-multi-day-view>
<kendo-scheduler-week-view>
</kendo-scheduler-week-view>
<kendo-scheduler-work-week-view>
</kendo-scheduler-work-week-view>
</kendo-scheduler>
`
})
export class AppComponent {
public selectedDate: Date = displayDate;
public events: SchedulerEvent[] = sampleData;
days = 1;
}
In the Kendo ComboBox, the selection part is not working with shadow dom.
1. Reproduction:
Please look at the below links,
With ShadowDOM:
https://stackblitz.com/edit/angular-evkasb?file=app%2Fapp.component.ts
Without ShadowDOM:
An example is provided in the below link under 'ENABLING SUGGESTION' section
https://www.telerik.com/kendo-angular-ui/components/dropdowns/combobox/suggestions/
Expected Result:
When user type 'C', the first word starts with C in the list 'Croatia' is suggested and 'roatia' is selected. But as soon as I type 'y' next to 'c', the combo box is suggesting 'Cyprus' and 'prus' should be selected
Actual Result:
As soon as I type the first word starts with C in the list is 'Croatia' is populated in the Combobox and 'roatia' is NOT selected. So the user cannot type ‘y’ in this case. But the user wants to select ‘CYPRUS’ but 'Croatia' is filled as the input and Cyprus is not suggested.
I have attached the video for the difference between with/without shadow dom.
Also, If you need any additional information, I have created a support ticket:
Please create a Kendo theme that supports Microsoft Office Fabric design.
Thank you
HI
When i input a value with 11111111111111111 on kendo-numerictextbox and lost focus (blur) event the value is always change to 11111111111111112 .Any solution to prevent this issue ?.
https://stackblitz.com/run/?file=app%2Fapp.component.ts
State: MA Comments: http://www.telerik.com/kendo-angular-ui/getting-started/#toc-project-setup states: "The latest versions of the packages target Angular v4.4.6 (latest LTS) and v5.x (latest official)." I believe this is somewhat dated - it doesn't match the information at https://angular.io/guide/releases Also, the same Getting Started page refers to Angular 6 ("...As of the Angular 6 release, Angular CLI introduces the ng add command..."), which kind of implies you're supporting 5.x (the current latest LTS) and 6.x. utm_source:
Please provide a Slide Menu component such as:
Hello,
it would be nice to have a reusable Virtualization-Container-Component so that it is possible to have a list of many custom components without performance issues.
The Grid, DropDowns and Calendar-Components already use some kind of virtualization component which is currently not for public use.
I guess something like that, but defined in a generic way (so that it is possible to insert any component) would be sufficient.
It should also be possible to have child elements with different sizes.
Hello, I am trying to use the table-related toolbar tools in my editor. I am getting the compiler.js:2175 Uncaught Error: Template parse errors:
'kendo-editor-insert-table-button' is not a known element:
1. If 'kendo-editor-insert-table-button' is an Angular component, then verify that it is part of this module.
2. If 'kendo-editor-insert-table-button' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" <!-- Kendo Built-In Toolbar tools not working correctly -->.
I have not had an issue with any other toolbar tools.
We would like to be able to tab to elements with tooltips which would open the tooltip and be readable by screen readers such as JAWS, etc.