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

[SuperTextField][iOS] - Selection highlight doesn't appear #2346

Open
matthew-carroll opened this issue Sep 25, 2024 · 0 comments · May be fixed by #2391
Open

[SuperTextField][iOS] - Selection highlight doesn't appear #2346

matthew-carroll opened this issue Sep 25, 2024 · 0 comments · May be fixed by #2391
Assignees
Labels
area_supertextfield Pertains to SuperTextField bounty_junior f:superlist Funded by Superlist platform_ios Applies to use on iOS time:2 type_bug Something isn't working

Comments

@matthew-carroll
Copy link
Contributor

When using a SuperIOSTextField (not a SuperTextField), the selection highlight doesn't appear.

Oddly, when using a SuperTextField on iOS, the selection highlight does appear.

Screenshot 2024-09-25 at 4 14 02 PM
return DecoratedBox(
      decoration: BoxDecoration(
        border: Border.all(color: Colors.grey),
        borderRadius: BorderRadius.circular(4),
        // color: const Color(0xFF222222),
      ),
      child: SuperIOSTextField(
        padding: const EdgeInsets.all(12),
        caretStyle: CaretStyle(color: Colors.red),
        selectionColor: defaultSelectionColor,
        handlesColor: Colors.red,
        textStyleBuilder: (attributions) {
          return defaultTextFieldStyleBuilder(attributions).copyWith(
            color: Colors.white,
            fontSize: 18,
          );
        },
        hintBehavior: HintBehavior.displayHintUntilTextEntered,
        hintBuilder: (_) {
          return Text(
            "Enter text and open toolbar",
            style: TextStyle(
              color: Colors.grey,
              fontSize: 18,
            ),
          );
        },
        popoverToolbarBuilder: iOSSystemPopoverTextFieldToolbarWithFallback,
      ),
    );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area_supertextfield Pertains to SuperTextField bounty_junior f:superlist Funded by Superlist platform_ios Applies to use on iOS time:2 type_bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants