Telerik Forums
KendoReact Forum
0 answers
197 views

Hello

 

I have an React Editor which gets and updates the content in a parent Form. It works all as expected except that after every render (either after onChange or onBlur) it focuses the cursor at the end of the content. This is fine if I'm currently writing at the end of the Editor, since the cursor stays there, but if I try to change some paragraph somewhere in the middle of the text, then the cursor jumps to the end of the text after updating the state and rerendering. (the state must be updated after every change in the editor, there is no other way to handle my requirement)

Is there a way to save the cursor position before updating the state or maybe using the on the OnChange or OnMount event to reset the cursor position at the same position where it was before? A tipp in the right direction or an example would be great.

 

Thanks & BR

Besir

Besir
Top achievements
Rank 1
Iron
 updated question on 23 Dec 2022
1 answer
136 views

This issue can NOT be reproduced on CodeSandBox or StackBlitz

Please clone this repo https://github.com/ianzone/kendo-task-board-issue

and run "pnpm install" then "pnpm run dev"

Vessy
Telerik team
 answered on 20 Dec 2022
1 answer
110 views

Hi, i'm using the KendoReact upload component and i need to manually start the upload after something happens.

i looked through the documentation but can't find a way to do that.

Thanks

Konstantin Dikov
Telerik team
 answered on 16 Dec 2022
1 answer
231 views

Greetings,

Is there a way to save the grid after reordering the rows?

I know there is an option for reordering the columns by using the onColumnReorder event.

Please help, thanks!

 

Regards,

Jason

 

Konstantin Dikov
Telerik team
 answered on 15 Dec 2022
1 answer
93 views

Hello Telerik Team,
is it possible to put multiple context props provider in a grid without nesting them arbitrarily deep?

 

Example Code:

<DatePickerPropsContext.Provider value={datePickerProps}>
   <NumericTextBoxPropsContext.Provider value={numericTextBoxProps}>
      <Grid
         ...
      />
   </NumericTextBoxPropsContext.Provider>
</DatePickerPropsContext.Provider>

Konstantin Dikov
Telerik team
 answered on 15 Dec 2022
0 answers
85 views

When I don't set baseUnit={"days"} for ChartCategoryAxisItem and the XAxis range is large, not all points are displayed, but I don't know how to find the series data corresponding to the displayed points.  How can I find the data corresponding to the 11 points in the second picture from the existing instance?

\

Steve
Top achievements
Rank 1
Iron
Iron
 asked on 15 Dec 2022
2 answers
1.9K+ views

Hello,

I am trying to import the Window component from "kendo-react-dialogs", I am using exactly the same code from the window overview doc, I have the following error.

Compiled with problems:

ERROR in ../../.yarn/__virtual__/@progress-kendo-react-dialogs-virtual-8699855f90/3/AppData/Local/Yarn/Berry/cache/@progress-kendo-react-dialogs-npm-5.9.0-71dc4341df-8.zip/node_modules/@progress/kendo-react-dialogs/dist/es/WindowTitlebar.js 18:0-61

Module not found: Error: Can't resolve '@progress/kendo-react-intl' in 'C:\Users\belmekki\IdeaProjects\wps-9952\.yarn\__virtual__\@progress-kendo-react-dialogs-virtual-8699855f90\3\AppData\Local\Yarn\Berry\cache\@progress-kendo-react-dialogs-npm-5.9.0-71dc4341df-8.zip\node_modules\@progress\kendo-react-dialogs\dist\es'


ERROR in ../../.yarn/__virtual__/@progress-kendo-react-layout-virtual-e885d3475e/3/AppData/Local/Yarn/Berry/cache/@progress-kendo-react-layout-npm-5.9.0-3a7b59be14-8.zip/node_modules/@progress/kendo-react-layout/dist/es/tabstrip/TabStripNavigation.js 44:0-55

Module not found: Error: Can't resolve '@progress/kendo-react-buttons' in 'C:\Users\belmekki\IdeaProjects\wps-9952\.yarn\__virtual__\@progress-kendo-react-layout-virtual-e885d3475e\3\AppData\Local\Yarn\Berry\cache\@progress-kendo-react-layout-npm-5.9.0-3a7b59be14-8.zip\node_modules\@progress\kendo-react-layout\dist\es\tabstrip'

My kendo-react dependency list:

    "@progress/kendo-react-animation": "^5.9.0",
    "@progress/kendo-react-buttons": "^5.9.0",
    "@progress/kendo-react-dialogs": "^5.9.0",
    "@progress/kendo-react-intl": "^5.9.0",
    "@progress/kendo-react-layout": "^5.9.0",
    "@progress/kendo-react-progressbars": "^5.9.0",
    "@progress/kendo-theme-material": "^5.11.0",

For information I use react 18.2.0 with typescript version 4.4.2 and yarn as package manager, attached my react component which triggers the error.

ammak
Top achievements
Rank 1
Iron
 updated answer on 14 Dec 2022
6 answers
438 views

Hello,

I dont know what this is or how can I fix it.

Uncaught TypeError: deepEqual is not a function
    at reconcileConfiguration (eval at hmrApply (..\node_modules\lodash-es\_objectToString.js:22), <anonymous>:27:10)
    at Grid.componentWillReceiveProps (eval at hmrApply (..\node_modules\lodash-es\_objectToString.js:22), <anonymous>:83:42)
    at callComponentWillReceiveProps (..\node_modules\lodash\lodash.js:6411)
    at updateClassInstance (..\node_modules\lodash\lodash.js:6603)
    at updateClassComponent (..\node_modules\lodash\lodash.js:8035)
    at beginWork (..\node_modules\lodash\lodash.js:8706)
    at performUnitOfWork (..\node_modules\lodash\lodash.js:10742)
    at workLoop (..\node_modules\lodash\lodash.js:10781)
    at HTMLUnknownElement.callCallback (..\..\..\..\..\Users\x\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\buffer\index.js:1790)
    at Object.invokeGuardedCallbackDev (..\..\..\..\..\Users\x\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\buffer\index.js:1790)

I don't know when it happen or why.
I tried to replicate the bug , but without any success.

It happen when render the Grid component of "@progress/kendo-grid-react-wrapper"

The error make reference to lodash, but I don't us it in the GridContainer component.

I have no clue what is happening.

Regards,
Vincent.

 

Stevan
Top achievements
Rank 1
Iron
Iron
 updated answer on 14 Dec 2022
1 answer
452 views

Hi,

I am using below version of kendo grid in my react application.

"@progress/kendo-react-grid": "^5.9.0"

I am using an array from reducer state for columns in the grid and on onColumnReorder method I am updating that columns array in reducer state. I have checked that array has been updated with the correct order but on re-rendering grid's columns are not being shown updated on UI.

 

Thanks in advance.

Konstantin Dikov
Telerik team
 answered on 13 Dec 2022
0 answers
3.3K+ views

I have a problem similar to this:

https://www.telerik.com/forums/license-activation-failed-for-react-project

i deleted node modules, package-lock and did npm cache clean -f. After reinstall I still get 

I get this in localhost as well as our production environments. I see it worked in npm install

> @progress/kendo-licensing@1.2.2 postinstall C:\Development\CanvasCoreServices\EY.Kronos\EY.Kronos.Web\node_modules\@progress\kendo-licensing
> node ./bin/kendo-ui-license.js activate --ignore-no-license

(INFO) Kendo UI: KENDO_UI_LICENSE environment variable not set
(INFO) Kendo UI: Reading license from "C:\Development\CanvasCoreServices\EY.Kronos\EY.Kronos.Web\kendo-ui-license.txt"...
(INFO) Kendo UI: License imported successfully.

Any idea what I am doing wrong?

 

 

Shane
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 12 Dec 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?