Coder Social home page Coder Social logo

XF 4.x support about beforeandafter HOT 4 OPEN

mariusmuntean avatar mariusmuntean commented on July 21, 2024
XF 4.x support

from beforeandafter.

Comments (4)

jdluzen avatar jdluzen commented on July 21, 2024

On XF 3.3, OnSizeAllocated is called with what looks like proper values, ~314 in my case.
On XF 4.4 OnSizeAllocated is called with 1, 1.

from beforeandafter.

jdluzen avatar jdluzen commented on July 21, 2024

I've spent a good amount of time debugging this, and it seems to be isolated to the ContentPresenter. The view isn't being rendered at all. I'm unsure what has changed since XF 3.3.

from beforeandafter.

gsgou avatar gsgou commented on July 21, 2024

@jdluzen, @mariusmuntean did you by chance find any workaround?
Just noticed the issue persists also on 5.0.0.2515.

from beforeandafter.

gsgou avatar gsgou commented on July 21, 2024

@jdluzen, @mariusmuntean send a PR with a fix.

The ContentPresenter should be placed in a control template to mark where content to be displayed by the templated custom control will appear. I replaced it with a ContentView.

https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/templates/control-template#substitute-content-into-a-contentpresenter

from beforeandafter.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.