[iOS][isVisible:false rendering issue] [Rendering of hidden components conflicts with animations]
See original GitHub issuePlatform
What platform is your issue or question related to? (Delete other platforms).
- iOS
Author or host
Host - Teams iOS client
Version of SDK
latest main
Details
Suppose you have a hidden element in the card (set using isVisible:false tag). If the render function is called using an animation, it results in the hidden components being visible on the device/simulator. (This could be a potential Apple issue as well).
Repro steps: In ViewController wrap the code for adaptive card rendering with this animation block:
[UIView animateWithDuration:0 animations:^{
renderResult = [ACRRenderer render:cardParseResult.card
config:hostconfigParseResult.config
widthConstraint:kAdaptiveCardsWidth
delegate:self];
}];
CardJson:
{
"body": [
{
"separator": true,
"text": "Please select an item from the list.",
"weight": "bolder",
"type": "TextBlock",
"spacing": "none"
},
{
"items": [
{
"separator": true,
"text": "PAGE 1 of 3. Showing results 1-4 of 11 ",
"weight": "bolder",
"type": "TextBlock",
"spacing": "none"
}
],
"id": "page1",
"type": "Container"
},
{
"id": "page2",
"isVisible": false,
"items":[
{
"separator": true,
"text": "PAGE 2 of 3. Showing results 5-8 of 11 ",
"weight": "bolder",
"type": "TextBlock",
"spacing": "none"
}
],
"type": "Container"
}
],
"type": "AdaptiveCard",
"version": "1.2"
}
Screenshot of the issue:
Correct Behaviour:
Please let me know if you need more details.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Having a rendering issue with React-Native Animation
I fixed 1 and 3 problems and refactored a bit. 2 is up to you: import React, { Component } from 'react'; import...
Read more >Inventor studio (2016) rendering problem
Hello, I have a problem while rendering both pictures and animations. Everything seems fine when i do a preview of the animation, ...
Read more >Animation & Frame rendering clones limit: render in failure
Hi I open a new topic about animation, as problem here are not (totally?) ... When using 19 to 24 CPU to render...
Read more >Hidden object is showing up in the render : r/Fusion360
A body that is hidden is showing up in the render. While not being visible in the actual workspace (because its hidden), when...
Read more >Problem rendering additional scenes
Using Blender 2.91 I'm currently working on an animation , which I've split over 5 scenes. I made a new scene each time...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @adumrewal,
I haven’t tried all of the enumeration’s values but the ones I tried such as UITableViewRowAnimationTop, UITableViewRowAnimationBottom and etc, all worked as expected. c.c. @lindach167
@shalinijoshi19,
I have discussed this issue with @adumrewal. It’s possible that it’s an Apple issue. I’m going to repro the issue first. I will update the thread once I’m done with accessibility issues.