部分服务中断share-external
Bug: Incorrect Screen Title Display When Returning from Dropdown Selection
1

I am encountering an issue with the screen title display in WhatsApp Flow. When an item is selected from a dropdown menu and the screen is revisited, the title incorrectly shows the dropdown item's title instead of the screen's title.

Steps to Reproduce:

1) Navigate to a screen with a dropdown component. 2) Select an item from the dropdown. 3) Automaticaly return to the same screen. 4) Observe that the screen title incorrectly displays the title of the dropdown component instead of the screen's original title.

The screen should display its original title when revisited, regardless of the dropdown item selection. Additional Info: We use a variable for the screen title which might be contributing to the issue.

Djoumessi
提问时间: 约 4 个月前
Bar

Djoumessi, thanks for reporting the issue. Couple of questions to help investigate:

  • Is this happening on iOS or Android (or both)
  • Can you please share your Flow JSON?
7月19日 06:49
Djoumessi
  • it is happening on both. { "version": "4.0", "data_api_version": "3.0", "routing_model": { "DEMO_SCREEN": [] }, "screens": [ { "id": "DEMO_SCREEN", "terminal": true, "title": "Demo screen", "data": { "all_burgers": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "metadata": { "type": "string" } } }, "__example__": [ { "id": "1", "title": "Beef burger", "description": "Beef, red onion relish, lettuce", "metadata": "$9.99" }, { "id": "2", "title": "Chicken burger", "description": "Grilled chicken breast, cheese, buffalo sause", "metadata": "$10.99" } ] } }, "layout": { "type": "SingleColumnLayout", "children": [ { "type": "Form", "name": "text_input_form", "children": [ { "type": "Dropdown", "name": "burger", "label": "Burgers", "required": true, "data-source": "${data.all_burgers}", "on-select-action": { "name": "data_exchange", "payload": { "burger": "${form.burger}" } } }, { "type": "Footer", "label": "Continue", "on-click-action": { "name": "data_exchange", "payload": {} } } ] } ] } } ] } this is a code i got on the documentation, same issue When we select an item, the screen title will display "Burger" instead of "Demo screen"
7月19日 07:02
已选回答
3

Hello Djoumessi, thanks for providing the additional information.

We managed to reproduce and fix the issue with the title. The fix will be available shortly on existing flows. If you don't see the change yet, try resending the flow message.

Please let us know if you have any other issues. Thanks!

7月23日 03:41
Berni
已选回答
1

Hello Bar, please any update concerning the bug in the flow ?

7月22日 23:39
Djoumessi