Skip to content

fix(pointers): Fix possible missing pointer exited event with touch u…

Codacy Production / Codacy Static Code Analysis succeeded Nov 26, 2024 in 0s

Your pull request is up to standards!

Codacy found no issues in your code

Annotations

Check notice on line 65 in src/Uno.UI/Runtime/BrowserPointerInputSource.wasm.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI/Runtime/BrowserPointerInputSource.wasm.cs#L65

Change this call to 'userAgent.Contains' to an overload that accepts a 'StringComparison' as a parameter.

Check warning on line 149 in src/Uno.UI/Runtime/BrowserPointerInputSource.wasm.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI/Runtime/BrowserPointerInputSource.wasm.cs#L149

Remove this use of 'goto'.

Check warning on line 57 in src/Uno.UI/ts/Runtime/BrowserPointerInputSource.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI/ts/Runtime/BrowserPointerInputSource.ts#L57

Identifier 'userAgent' is never reassigned; use 'const' instead of 'var'.