samples icon indicating copy to clipboard operation
samples copied to clipboard

[add-to-app] Accessibility not working properly with multiple flutter fragments

Open santoshgistto opened this issue 1 year ago • 3 comments

Source : https://github.com/flutter/samples/tree/main/add_to_app/multiple_flutters

https://github.com/user-attachments/assets/d873dc52-42aa-4bec-9e14-7e3376ba2446

santoshgistto avatar Oct 21 '24 17:10 santoshgistto

Hey @santoshgistto -- Is the issue that you're pointing out that the accessibility features aren't working in the final screen of that video? I'm just making sure I understand correctly

ericwindmill avatar Oct 22 '24 13:10 ericwindmill

@ericwindmill Yes in the case of multiple flutter fragment

            val engine = if (i == 0) topBindings.engine else bottomBindings.engine
            FlutterEngineCache.getInstance().put(engineId.toString(), engine)
            val flutterFragment = FlutterFragment.withCachedEngine(engineId.toString()).build<FlutterFragment>()
            fragmentManager.beginTransaction().add(containerId, flutterFragment).commit()

multi_flutter

santoshgistto avatar Oct 22 '24 15:10 santoshgistto

@ericwindmill please let me know if any info required to reproduce the issue

santoshgistto avatar Oct 23 '24 15:10 santoshgistto