Skip to content

FlxInputText on JS crashes with when trying to make text go multiline #231

@ShaharMS

Description

@ShaharMS
  • haxe version - 4.2.4
  • flixel version - 4.11.0
  • flixel-ui version - 2.4.0

the title explains it. code snippet to reproduce the crash quickly:

var input = new FlxInputText(100, 100, 300, 15);
input.wordWrap = true;
add(input);
input.text += "\n";

I'm using Firefox and it crashes with shader is null:
image

you can also just add lots of letters/words instead of the "\n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions