Search Unity

Bug TMP_InputField no longer work with ContentSizeFitter and VerticalLayoutGroup in new version

Discussion in 'UGUI & TextMesh Pro' started by itsnottme, Jun 12, 2021.

  1. itsnottme

    itsnottme

    Joined:
    Mar 8, 2017
    Posts:
    129
    Hey, using ContentSizeFitter and VerticalLayoutGroup no longer work with TMP_InputField in TextMeshPro version 2.1.4 and 2.1.6.

    The height keeps switching between 0 and the desired value.

    I attached a gif of what's happening and my settings.

    Thank you.
     

    Attached Files:

    • gif.gif
      gif.gif
      File size:
      387 KB
      Views:
      295
    • 1.1.PNG
      1.1.PNG
      File size:
      45.1 KB
      Views:
      290
    • 1.PNG
      1.PNG
      File size:
      129.7 KB
      Views:
      293
    Last edited: Jun 13, 2021
  2. itsnottme

    itsnottme

    Joined:
    Mar 8, 2017
    Posts:
    129
  3. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    I'll try looking at this tomorrow and follow up once I have more information.
     
    itsnottme likes this.
  4. itsnottme

    itsnottme

    Joined:
    Mar 8, 2017
    Posts:
    129
    Hey, any luck?
     
  5. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    I am able to reproduce the issue and currently looking for a potential solution.
     
    itsnottme likes this.
  6. itsnottme

    itsnottme

    Joined:
    Mar 8, 2017
    Posts:
    129
    Hey, any progress?
    Thanks.
     
  7. Sho_Yasu

    Sho_Yasu

    Joined:
    Oct 2, 2020
    Posts:
    1
    any progress?