Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pixel overflow in Word Recall task #28

Open
bardram opened this issue Apr 16, 2024 · 0 comments
Open

Pixel overflow in Word Recall task #28

bardram opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bardram
Copy link
Contributor

bardram commented Apr 16, 2024

When entering the words, this pixel overflow appears when the keyboard is shown.

IMG_6520

Using a iPhone 12 Pro.

════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 31 pixels on the bottom.

The relevant error-causing widget was:
    Column Column:file:///Users/bardram/dev/cognition_package/lib/src/ui/ActivityBody/rpui_word_recall_activity_body.dart:310:20

: To inspect this widget in Flutter DevTools, visit: http://127.0.0.1:9105/#/inspector?uri=http%3A%2F%2F127.0.0.1%3A49552%2F0Eda7UWqGOI%3D%2F&inspectorRef=inspector-0

The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, like a ListView.
The specific RenderFlex in question is: RenderFlex#c6d2f relayoutBoundary=up6 OVERFLOWING
    needs compositing
    parentData: offset=Offset(0.0, 0.0) (can use size)
    constraints: BoxConstraints(0.0<=w<=390.0, 0.0<=h<=589.3)
    size: Size(390.0, 589.3)
    direction: vertical
    mainAxisAlignment: start
    mainAxisSize: max
    crossAxisAlignment: center
    verticalDirection: down
    child 1: RenderConstrainedBox#6fca7 relayoutBoundary=up7
        needs compositing
        parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
        constraints: BoxConstraints(0.0<=w<=390.0, 0.0<=h<=Infinity)
        size: Size(390.0, 562.7)
        additionalConstraints: BoxConstraints(w=390.0, h=562.7)
        child: RenderPhysicalModel#790bc
            needs compositing
            parentData: <none> (can use size)
            constraints: BoxConstraints(w=390.0, h=562.7)
            size: Size(390.0, 562.7)
            elevation: 0.0
            color: Color(0xff1c1b1f)
            shadowColor: Color(0xff1c1b1f)
            shape: BoxShape.rectangle
            borderRadius: BorderRadius.zero
            child: _RenderInkFeatures#51f23
                needs compositing
                parentData: <none> (can use size)
                constraints: BoxConstraints(w=390.0, h=562.7)
                size: Size(390.0, 562.7)
                child: RenderCustomMultiChildLayoutBox#61c12
                    needs compositing
                    parentData: <none> (can use size)
                    constraints: BoxConstraints(w=390.0, h=562.7)
                    size: Size(390.0, 562.7)
    child 2: RenderConstrainedBox#7fc39 relayoutBoundary=up7
        parentData: offset=Offset(97.5, 562.7); flex=null; fit=null (can use size)
        constraints: BoxConstraints(0.0<=w<=390.0, 0.0<=h<=Infinity)
        size: Size(195.0, 58.0)
        additionalConstraints: BoxConstraints(w=195.0, 0.0<=h<=Infinity)
        child: RenderSemanticsAnnotations#37b11 relayoutBoundary=up8
            parentData: <none> (can use size)
            constraints: BoxConstraints(w=195.0, 0.0<=h<=Infinity)
            semantic boundary
            size: Size(195.0, 58.0)
            child: _RenderInputPadding#18c73 relayoutBoundary=up9
                parentData: <none> (can use size)
                constraints: BoxConstraints(w=195.0, 0.0<=h<=Infinity)
                size: Size(195.0, 58.0)
                child: RenderConstrainedBox#86a6f relayoutBoundary=up10
                    parentData: offset=Offset(0.0, 0.0) (can use size)
                    constraints: BoxConstraints(w=195.0, 0.0<=h<=Infinity)
                    size: Size(195.0, 58.0)
                    additionalConstraints: BoxConstraints(64.0<=w<=Infinity, 40.0<=h<=Infinity)
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
@bardram bardram added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant