question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Can't use BlurEffect with Scrollview

See original GitHub issue

Adding a blue effect to a scrollview causes an exception

<ScrollView>
    <ScrollView.Effects>
        <uranium:BlurEffect Mode="Dark" />
    </ScrollView.Effects>

<!--    <content> -->
</ScrollView>

I get the following error when running image

Not sure it is related, but I can’t seem to get the blue effect to work in the following scenario:

<Grid>
        <Grid.Effects>
            <uranium:BlurEffect Mode="Dark" />
        </Grid.Effects>
        <ScrollView>
              <!--    <content> -->
         </ScrollView>
</Grid>

Doing so shows nothing that is blurred

Issue Analytics

  • State:open
  • Created 3 months ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
enisncommented, Jun 22, 2023

By the way, settting WidthRequest is required for android since it can’t calculate the size of parent of parent automatically

0reactions
enisncommented, Jul 4, 2023

There is nothing to do on my side for android implementation of blur. If there is a better implementation on native android we can move to it.

https://github.com/mmin18/RealtimeBlurView repository seems stale for now but it was the best option for the first implementation of blurs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

add blur effect while scrolling on Parallax header (Swift)
Adding a custom UIViewcontroller to subview programmatically but getting an error message "Cannot convert value of type..." Hot Network ...
Read more >
[Android] Blur not working · Issue #162
The BlurView cannot contain any child views, and it cannot be a child of the view that is being blurred (otherwise there is...
Read more >
Anyone know how to shut off this blur effect? : r/SwiftUI
It's attached to a scroll view, I can't seem to figure out how to get it to go away or why it's even...
Read more >
`.scrollEdgeAppearance` only works…
I'm trying to use .scrollEdgeAppearance to effect a similar style to that used in the Reminders app for the 'new reminder' popover on...
Read more >
iOS Nested Scroll with RxCocoa
This binding handles the double scrolling issue. ... There was an alternative solution where I tried to use only one scroll view and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found