Skip to content

Focus.at() should give better feedback when there's two focusable widgets #181

Closed

Description

@FlutterIssues

Issue by Hixie
Monday Oct 05, 2015 at 21:18 GMT
Originally opened as https://github.com/flutter/engine/issues/1494


Right now Focus.at() defaults to returning true if there's no scope, which is intentional to make it easier to write trivial apps with a single focusable widget. But it means that when you add a second one, things break in unobvious ways. We should catch that case and assert with a useful message.

Activity

  1. added this to the milestone on Nov 9, 2015
  2. self-assigned this
    on Dec 28, 2015
  3. added a commit that references this issue on Dec 28, 2015
    b1dae4c
  4. added a commit that references this issue on Mar 21, 2019
  5. github-actions commented on Aug 17, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions