Comments (7)
I will try to. After this message I started. The bug is not as easy to reproduce as I thought it would be. Something to do with the way we switch between components with some delay somewhere. Should have something soon
from blazorise.
Can I ask you to create a simple reproducible?
from blazorise.
I managed to track down what the issue was in my code. Though I did make a basic project to reproduce. Some stuff is probably unnecessary https://github.com/BpKlomp/RichTextEditBug/tree/main
If you run the project, you just have to switch between the two buttons a couple of times and it will happen quite consistently. The issue happens because of the extra state changes after switching. Its bad code, so maybe it's not worth fixing on your end. (index.razor line 37-40)
from blazorise.
It usually happens to be the users code at fault :)
Yeah, I think this is not so much of a Blazorise issue. If you agree, I will close it.
from blazorise.
The issue still exists somewhere, but it might be Blazor itself. Just the way it is caused on my end can be fixed. There is still scenarios where this will happen to others, for legitimate reasons.
Probably for now its fine to close it and if someone has the same issue they can reopen it.
from blazorise.
It seems like the issue is more likely than I first thought. The specific code we had in place, just caused this relatively often. But there is more cases where this or a related error happens (System.NullReferenceException at Blazorise.Extensions.ObjectExtensions+d__1.MoveNex)
The problem appears whenever you trigger a StateHasChanged during the loading/unloading of the rich text editor. This could be in a different function running on the side to the one that you're using to switch objects.
from blazorise.
I will try and see if we can improve it.
from blazorise.
Related Issues (20)
- [Web] Add a theme switcher
- [Bug]: InputMask and placeholder HOT 4
- [Bug]: FileEdit button text is empty before selection, file name after selection
- [Bug]: Chart: ChartOptions.Interactions broken HOT 1
- [Link] Define rel attribute for Blank links
- [Bug]: The ReadData method is executed once when the datagrid component throws an exception HOT 2
- [Bug]: CustomMatch is not settable on BarLink HOT 2
- CellStyling of datagrid is not exists HOT 3
- [Blog] create JSON viewer with TreeView component
- [2.0] Link: Allow CustomMatch without Match.Custom
- [Docs] Mention the importance if TValue for RadioGroup
- slider with range selection
- DataGrid | FilterModes for handling ranges | i.e DataGridColumnFilterMethod.Between HOT 1
- [Bug]: ColumnChooser is not aligned with pager HOT 1
- [Docs] Typo in the Button component page
- [Bug]: Form inputs do not have a name HOT 3
- SelectList not executing the callback set for SelectedValueChanged HOT 2
- [Bug] DataGrid not works for large data first load HOT 1
- [2.0] Unify input component APIs HOT 3
- .srt subtitle files for video player HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazorise.