yuyakaido / CardStackView

📱Tinder like swipeable card view for Android
Apache License 2.0
2.37k stars 449 forks source link

java.lang.IllegalArgumentException: Cannot set 'scaleY' to Float.NaN #333

Open ubarua123 opened 3 years ago

ubarua123 commented 3 years ago

This happens on when I press back. Nothing really special here.

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/word_prompt_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true"
    android:transitionName="shared_element_end_root">

    <com.yuyakaido.android.cardstackview.CardStackView
        android:id="@+id/word_prompt_stack"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:clipToPadding="false"
        android:padding="5dp"
        android:visibility="visible"
        app:layout_constraintBottom_toTopOf="@+id/wp_item_rewind"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/generic_view_toolbar"
        app:stackFromEnd="true"
        tools:itemCount="3"
        tools:listitem="@layout/card_item" />

God only knows whats going on.

lucers commented 3 years ago

I also get this problem

kubilayyilmaz commented 3 years ago

Yes, I have this problem too. @yuyakaido