website icon indicating copy to clipboard operation
website copied to clipboard

Can't scroll horizontally with mouse in demo

Open get6 opened this issue 1 year ago • 0 comments

Page URL

https://docs.flutter.dev/cookbook/lists/horizontal-list/

Page source

https://github.com/flutter/website/tree/main/src/content/cookbook/lists/horizontal-list.md

Describe the problem

I tried to find a way to scroll horizontally with Flutter.

But I couldn't test a demo/

Expected fix

Can scroll horizontally with mouse when demo is ran.

Additional context

I found errors in Chrome DevTools

[Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'sha256-TLFf6uphGKcmsQh139FXW+zI8+m+KYC/3ai/rTu4NO0=' 'sha256-BOF631Nskv2A6eetluVBrNcDbYRYd/+b3wU9NBtGKGQ=' 'sha256-ye5TuohbcxBNy6HcVWdwfRHAUaHjKdBTXjRsm92zCdo=' 'sha256-GdPtwIl3lB8GPexRo/QmApVAGQ/y1zRYuxJPZTpT6TQ=' 'sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==' 'sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==' 'sha512-7rusk8kGPFynZWu26OKbTeI+QPoYchtxsmPeBqkHIEXJxeun4yJ4ISYe7C6sz9wdxeE1Gk3VxsIWgCZTc+vX3g==' 'sha512-7O5pXpc0oCRrxk8RUfDYFgn0nO1t+jLuIOQdOMRp4APB7uZ4vSjspzp5y6YDtDs4VzUSTbWzBFZ/LKJhnyFOKw==' 'sha512-nlp9/l96/EpjYBx7EP7pGASVXNe80hGhYAUrjeXnu/fyF5Py0/RXav4BBNs7n5Hx1WFhOEOWSAVjGeC3oKxDVQ=='". Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list. Understand this error

[Report Only] This document requires 'TrustedScriptURL' assignment.

I would like to fix this problem.

  • [ ] I will try and fix this problem on docs.flutter.dev.

get6 avatar Oct 04 '24 02:10 get6