Questions tagged [hero]
38 questions
0
votes
1 answer
I want to create a ReactJS Hero component with a video for the background, but it doesn't work
Hi i struggle creating a hero with a mp4 video on the background, when i put those code on a simple html/css folder it work, but not with react, i don't know why
HERE is my Hero component
import React from "react";
import Navbar from…
0
votes
1 answer
There are multiple heroes that share the same tag within a subtree, I dont understand the issue
I want to use a hero widget. But Im getting this error and I dont really see where the mistake is:
The following assertion was thrown during a scheduler callback:
There are multiple heroes that share the same tag within a subtree.
This is part of my…

lucah00
- 3
- 2
0
votes
0 answers
Hero transitions not working properly with layout changes
In my iOS application use Hero transition iOS SDK and present view controllers using it.
if cell != nil {
vc.hero.isEnabled = true
vc.hero.modalAnimationType = .none
vc.view.hero.id = cell!.customHeroID
…

isuru
- 3,385
- 4
- 27
- 62
0
votes
2 answers
'No Material widget found.'
i created a listview in which i used the gero widget i have wrapped all the hero widgets and listview widgets in material but still I get this error and when i click the listtile it works properly but when I come to the second page I am not able to…
0
votes
0 answers
Navigationcontroller Hero transition animation no change
NavigationController embed in SearchViewController and DetailViewController when we click row DetailViewController I want it to pass with effect while passing, how can I do that?
func tableView(_ tableView: UITableView, didSelectRowAt indexPath:…

LordGrim
- 39
- 6
0
votes
0 answers
Flutter Hero with custom AnimationController or entirely custom overlay
Is it possible to implement a Hero Animation in flutter but instead of being controlled by Navigator, be controlled by a custom AnimationController.
This is for a use case needs to go inside another element rather than a new screen as is the case…

Walrus
- 19,801
- 35
- 121
- 199
0
votes
0 answers
Hero image is not responsive on mobile devices. https://kenlax.com
Hero image is not responsive on mobile devices.
https://kenlax.comn
I can Crop the image so it appears on left side and adequately shows up on mobile screens but this is Not what I'm looking for. On laptop and desktop screens I want the entire Hero…

photo
- 1
0
votes
1 answer
Flutter: How to disable Hero Animation when Widget out of screen in ListView
I have a problem when I use HeroWidget in ListViews.
Here is use case:
I have 2 pages.
Page1 has a HeroWidget.
Page2 has a ListView with HeroWidget at the beginning.
Clicking on Page1 HeroWidget will enter Page2, no problem.
The problem is that…

Tommy Chang
- 133
- 1
- 9
0
votes
1 answer
Flutter Hero Animation transitioning Opacity and/or Color
The Hero Widget effectively transitions size and position between two screens. How would you extend it to include opacity so that it effectively fades out the child of one screen whilst fading in the child of the second screen during the…

Walrus
- 19,801
- 35
- 121
- 199
0
votes
1 answer
flutter hero widget not working when going to new page
i am currently using the hero widget for flutter. my issue is that the hero is only working when i go from profile screen to chat screen and not from chat screen to profile screen. the tags are the same but i just cannot wrap my head around why is…

deandrehaijiel
- 139
- 10
0
votes
2 answers
Hero video and image and various devices
I have literally spent hours trying to size my hero video to fit the computer screen for a wordpress page. Setting standard dimensions still seem to have it stretched. Now I am fighting with the hero poster image for mobile. Is there CSS that can…
0
votes
1 answer
Flutter Hero animate 90 degree rotation
I am using Hero in my app for smooth transitions but I faced an issue: I would like the Hero-Widget rotate 90 degress on transition. I found out I can use flightShuttleBuilder for this and tried it like this:
flightShuttleBuilder: (
BuildContext…

Chris
- 1,828
- 6
- 40
- 108
0
votes
2 answers
Multiple hero widget with gridview.builder
I was trying to create a UI design for food app. therefore I tried multiple container box using hero widget but couldn't get the result due to an error. the error is:
ErrorSummary('There are multiple heroes that share the same tag within a…

Learning Curious
- 101
- 1
- 1
- 5
0
votes
2 answers
In Flutter, what should I supply to the tag of Hero?
I often get errors about "There are multiple heroes that share the same tag within a subtree."
For now, I have supplied the tag with Uuid().v4(). I'm pretty sure that this will be completely random. But I still got these errors.
Here is the subtree…

Chen Li Yong
- 5,459
- 8
- 58
- 124
0
votes
1 answer
How do I have different Hero (background) on different pages
I have different CSS for every page. I already tried some tutorials, but that one Hero does not want to disappear. How do I remove that one Hero?
Using React v. 18.0
And dependencies...
Thank you.
Code in App.js:
`import React from "react";
import…
user17742116