Tom Edwards

Results 106 comments of Tom Edwards

> I'm not suggesting to use `SafeEnumerableList` here, but to use the same technique of copy-on-write. To be performant, this would need to be built into `AvaloniaList`. It could return...

I added (in a local branch) an exception like WPF's, which is thrown if the logical children collection is changed during internal enumeration. [Here is the new call stack](https://gist.github.com/TomEdwardsEnscape/5487234793b086912c2864718c4417ed) for...

Hadn't spotted that, thanks for the tip! The PR now handles visual child enumeration too.

@kekekeks this has been waiting to be merged for a while now.

Both are OK, but I would prefer option B because I think it will be unusual for anyone to try to store the returned object and reuse it, especially if...

Actually, while this change does fix the issue we were having, an even better solution for us would be to hook into template construction (to record the DI context) and...

I hit this bug again today, but in a different context. We display an information sheet over the entire window when the user clicks a certain button. The sheet is...

We stumbled over this with our iOS project. The error doesn't appear if the [`UseInterpreter`](https://learn.microsoft.com/en-us/dotnet/maui/macios/interpreter?view=net-maui-9.0) option is enabled, but this reduces runtime performance and so is undesirable in release builds....

The new PRs are #18868 and #18869. I couldn't split the Holding change away because it depends on the previous commit. I'll just remove it from this PR if the...

I dug some more and found that `Gestures.RightTappedEvent` is being raised, but wasn't exposed on `InputElement`. `Tapped` and `DoubleTapped` were added in 8eb4f30c6d97bd0b9dcff21a6aaa3c2db9b58305, and that commit added them to `InputElement`...