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)
- 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
- RadzenDropDownDataGrid Reset() does not work when Multiple= true
- Feature Request [DataGrid]: In-Cell Editing HOT 2
- DateOnly Query Filtering HOT 5
- Feature Request: [Pager] Refresh button
- InvalidOperationException: Cannot provide a value for property 'DialogService' on type 'Radzen.Blazor.RadzenHtmlEditorSource'. There is no registered service of type 'Radzen.DialogService'. HOT 1
- Feature Request: RadzenDataFilter: Add support for Linq-like filtering
- Feature Request: [DataGrid] Data-based CSS evaluation per-column
- Radzen dropdowndatagrid implement search text clearing cross button
- Feature Request: Add a boolean parameter to open an empty RadzenAutoComplete on focus
- RadzenDropdownDataGrid: Selected values get cleared if component is dynamically generated HOT 1
- datagrid save settings example not-up-to-date HOT 1
- RadzenDropdownDataGrid: Component loses state if component is dynamically created HOT 1
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.