Comments (4)
For context, this is used on our document viewer to pinch-to-zoom - the translate mode works for panning,
from uno.
Hey @brookslindseyjr thanks for teh report.
I've also attempted to wrap the ScrollViewer with a Grid and subscribe to the ManipulationDelta there with the same results.
Did you tried to put it inside the ScrollViewer
instead?
I suspect the issue is that the native UIScrollView
"stoles" the pointers when it thinks that you are starting to scroll (then all pointers are going native only and we don't receive them anymore). As events are bubbling from bottom to top, if you put you container within the UIScrollView
(i.e. in the ScrollViewer
) we will get events first and we are able to prevent such behavior.
from uno.
BTW, for a viewer, you can also just remove the ScrollViewer
and only use manipulation events with a RenderTransform
. The only down side is that you won't get the scroll-bars.
from uno.
With the element inside the scrollviewer, we receive the events as expected.
from uno.
Related Issues (20)
- Request: Flyout stays open when putting app in background HOT 3
- Newly created Project with MSAL Authentication crashes HOT 1
- Indicate to add the built-in style when creating a dialog based on ContentDialog HOT 6
- [WASM][Regression] Upgrading from 5.1 -> 5.2 completely breaks the .PointerEntered/.PointerExited handling HOT 4
- [skia][macOS] CheckBox text in a dialog is not aligned with the square HOT 1
- [skia][macOS] Button height inconsistency in a page and ContentDialog
- [skia][macOS] TextBox/RadioButtons/ComboBox/CheckBox/Button/InfoBar texts are not properly aligned vertically HOT 3
- Cannot generate WinUI package "The target "_GenerateAppxPackage" does not exist in the project." HOT 6
- [RelativeSource] Inconsistency involving Self and TemplatedParent between Uno and Windows HOT 2
- Add a file open picker & edit manual test
- tews
- test
- Programmatic changes to `TextBox.Text` don't flow to ViewModel via TwoWay binding
- [Description] in Uno samples App HOT 1
- [Uno.sdk] The app doesnt build when you add some packages
- [skia][wpf] The full screen window is unstable
- `Canvas_DependentAnimation` is not showing an animated circle HOT 1
- Can't add a new Uno application project to an existing solution in VS2022 HOT 1
- `TimePicker` invisible selection text
- NuGet package override does not work for `net8.0-ios` 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 uno.