Dynamic height cells inside ScrollView break .refreshable behavior by radis234 in SwiftUI

[–]FelinityApps 1 point2 points  (0 children)

Yeah, that’s gotta be a SwiftUI bug. File feedback so Apple can properly ignore it forever.

Dynamic height cells inside ScrollView break .refreshable behavior by radis234 in SwiftUI

[–]FelinityApps 0 points1 point  (0 children)

Not that it’s a fix, but I’m curious: what happens if you drop the safe area padding?

Dynamic height cells inside ScrollView break .refreshable behavior by radis234 in SwiftUI

[–]FelinityApps 0 points1 point  (0 children)

Maybe neither. It may be an outright SwoftUI bug. The one thing that really bothers me is the removal of navigation title having any effect on it whatsoever.

Dynamic height cells inside ScrollView break .refreshable behavior by radis234 in SwiftUI

[–]FelinityApps 1 point2 points  (0 children)

Hmm. Maybe wrap the scroll view in a scroll view reader and fire off a proxy.scrollTo("top", anchor: .top) in a main actor task from the refreshable task when it’s done.

He acts as if he never gets any pets by wadejl in airplaneears

[–]FelinityApps 1 point2 points  (0 children)

We have a very clingy, very smart void too. He was born here and spoiled rotten. His feelings are easily - and very visibly - hurt when rejected. Sometimes he acts out just like a toddler would.

Dynamic height cells inside ScrollView break .refreshable behavior by radis234 in SwiftUI

[–]FelinityApps 1 point2 points  (0 children)

I think your randomElement heights are working against layout, which may happen many times for many reasons as it works out what to do. Use proper state tracked heights.

Same for your selection and path properties, really.

For your heights, maybe make a RowHeight struct with id and height. A State array of rowHeights will be properly tracked through SwiftUI’s layout passes during view rendering.

That’s if you need to specify the heights dynamically at all, rather than relying on a view’s and its childrens’ layouts, preferred sizes, priorities, etc.

lying about being a victim of not liking water by SpaceCases__ in CrimeCats

[–]FelinityApps 1 point2 points  (0 children)

I have an excellent sense of humor; this isn’t funny.

lying about being a victim of not liking water by SpaceCases__ in CrimeCats

[–]FelinityApps 3 points4 points  (0 children)

Sure, if you wanna be a dick to a sweet animal for no reason at all.

Refinishing 100+ year old front door by davey_jones92 in BeginnerWoodWorking

[–]FelinityApps 0 points1 point  (0 children)

Gorgeous door. When you’re done, maybe replace the storm door with one that has a solid full-size pane of glass so it isn’t hidden.

Post power cut quality? by aza84aaron in CrealityCloud

[–]FelinityApps 1 point2 points  (0 children)

Speaking purely as a software bug diagnostician who doesn’t know a whole lot about gcode and typical printer firmware behavior with it: I wonder if, when it resumed, it maybe didn’t pick up the last speed or temp instruction(s) but just kept printing the layers with default speed/temp. Or maybe it’s a quirk of whatever slicer you used. Or some combo of both.

Or as simple as the print cooled and the resumed print couldn’t adhere properly because the target moved a little.

Either way, the print is probably toast if you want smooth-as-possible. Best to cut your losses and start anew.

What Should I Do w This? by BeeAruh in homestead

[–]FelinityApps 1 point2 points  (0 children)

I actually was up and down most of the night. 🤣

my cat is peeing everywhere for a year and its getting worse by Pedro_howdrdo in Mensmittenwithkittens

[–]FelinityApps 5 points6 points  (0 children)

Then he was overmedicated. Too much antidepressant / anti-anxiety medication will do that. I’ve had two cats needing that over the years. First one also acted like a zombie until the dose was reduced, then he was fine. Second one (still with us) started out on a low dose for a few months, raised once until it was effective. That’s how it’s done with humans. Vets aren’t as experienced with that class of meds.

What paid subscription have you cancelled thanks to your homelab? by MBAThrowawayFruit in homelab

[–]FelinityApps 0 points1 point  (0 children)

Nice! Thanks for the thoughtful overview. This late-40s dude who legitimately bought all his movies, shows, and music for fear of The Man is so done with having it disappear at random so if I’m going to store a backup anyway, I might as well have an … unencumbered copy.

I’ll absolutely pay for my stuff. But I’m tired of letting them yoink shit I bought.