Comments (3)
The problem can be solved with the following lines of code:
RadzenSplitterPane.razor line 21:
@onmousedown=@(args => Splitter.StartResize(args, Index))>
replaced with
@onpointerdown=@(args => Splitter.StartResize(args, Index))>
RadzenSplitterPane.razor.cs line 263:
await Splitter.StartResize(new MouseEventArgs()
replaced with
await Splitter.StartResize(new PointerEventArgs()
RadzenSplitter.razor.cs line 97:
internal Task StartResize(MouseEventArgs args, int paneIndex)
replaced with
internal Task StartResize(PointerEventArgs args, int paneIndex)
Radzen.Blazor.js lines 2114 to 2117:
document.removeEventListener('mousemove', Radzen[el].mouseMoveHandler);
document.removeEventListener('mouseup', Radzen[el].mouseUpHandler);
document.removeEventListener('touchmove', Radzen[el].touchMoveHandler);
document.removeEventListener('touchend', Radzen[el].mouseUpHandler);
replaced with
document.removeEventListener('pointerup', Radzen[el].mouseUpHandler);
document.removeEventListener('pointermove', Radzen[el].mouseMoveHandler);
el.removeEventListener('touchmove', preventDefaultAndStopPropagation);
Radzen.Blazor.js lines 2170 to 2173:
document.addEventListener('mousemove', Radzen[el].mouseMoveHandler);
document.addEventListener('mouseup', Radzen[el].mouseUpHandler);
document.addEventListener('touchmove', Radzen[el].touchMoveHandler, { passive: true });
document.addEventListener('touchend', Radzen[el].mouseUpHandler, { passive: true });
replaced with
const preventDefaultAndStopPropagation = (ev) => {
ev.preventDefault();
ev.stopPropagation();
};
document.addEventListener('pointerup', Radzen[el].mouseUpHandler);
document.addEventListener('pointermove', Radzen[el].mouseMoveHandler);
el.addEventListener('touchmove', preventDefaultAndStopPropagation, { passive: false });
from radzen-blazor.
Hi @melfon,
You can submit a pull request with the proposed changes. We will test and merge it if no other issues are found.
from radzen-blazor.
OK, will do
from radzen-blazor.
Related Issues (20)
- RadzenSplitter with lots of content freezes
- Add ThemeProvider HOT 2
- RadzenUpload Component doesn't send request with file HOT 1
- RadzenDatePicker focus out issue on field edit HOT 1
- Offer a DateRange Picker HOT 2
- Initially collapsed SplitterPane has size 0 on first expand HOT 1
- When the DatePicker component is placed in a modal popup (like bootstrap), the zindex gets messed up because the markup is injected outside of the modal element. This prevents typing in the textboxes and interating with the components as intended. HOT 1
- JSException: Cannot read properties of null (reading 'querySelector') at Object.createDatePicker
- RadzenDropDown group level selection with checkbox. HOT 2
- DataGrid janky resize HOT 1
- RadzenPanelMenu StaticRendering HOT 2
- Auto Pagination of data
- File Input HOT 3
- The caret is moved when editing inside a RadzenMask, leading to errors in data
- Add Sorting(OrderBy) method for RadzenDataList HOT 1
- Dropdown does not looks like in the demo HOT 1
- Feature Request: Auto focus on DialogSide
- Upload Component: update the online example for the Drag Drop that is misleading - This is NOT a bug
- Radzen.Blazor/RadzenDropDown.razor.cs sample code is having error HOT 3
- Error when clearing dropdown with delete key when DisabledProperty is entered
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 radzen-blazor.