Comments (10)
Hi,
You better use CSS for that. Hit-testing wont work on the browser as it is a completely different environment, which Avalonia doesn't know about.
from webview.
Ok, I tried to add cursor: pointer;
style to all tags. But it does not seem to work.
from webview.
Did you tried on this sample app?
from webview.
Yes, it works there even on the same html file. I am on Avalonia 0.10.18 and WebViewControl-Avalonia 2.106.7. I am unable to see any major differences between the projects.
from webview.
Set OSR = false?
https://github.com/OutSystems/WebView/blob/master/SampleWebView.Avalonia/MainWindow.xaml.cs#L10
from webview.
I am getting
System.InvalidOperationException: 'Cannot set OsrEnabled after WebView engine has been loaded'
I have added a very simple project with the html file included.
from webview.
Just to add, when I load the above project, the hand cursor is not visible over links.
However, in the sample app it works.
from webview.
Setting OSR need to be one of the first things you do in your app
from webview.
Thanks, I also add to add app.manifest. It works now.
from webview.
Closing
from webview.
Related Issues (20)
- Nuget.config "Avalonia" feed needs to be changed HOT 1
- Error: libcef missing with CefGlue.Avalonia 117.5938.2 on Win/Avalonia 11
- Passing chromium flags HOT 3
- Libraries missing when running 2.117.1-avalonia11 on macOS M1 HOT 15
- OSR scaling HOT 4
- Browser Focus/TextInput HOT 1
- Dialog box not displaying correctly HOT 6
- Provide a NET8 Package without net6 dependencies HOT 1
- how to change user agent in loaded WebView HOT 1
- [limit] Google: Couldn’t sign you in HOT 1
- Accessibility on the WebView window HOT 19
- Webview doesn't show in Avalonia 11 HOT 3
- The right-clicked menu bar is not displayed correctly on Runtime Identifier "win-x64". HOT 5
- Problems encountered in setting the OsrEnabled parameter HOT 3
- Issue with EvaluateScriptFunction : C# exception thrown when using non integer function parameters HOT 5
- Setting WebView Properties HOT 2
- Cannot input anything in the fields of WebView HOT 6
- No API was found to implement sending messages to the web window HOT 1
- Can't input Chinese on Kylin V10 HOT 5
- How do you successfully upgrade from 3.120.3 to 3.120.4 on Windows11? HOT 3
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 webview.