kylewill0725 / warframe-hub

Warframe hub strives to be the community center of the Warframe game
https://hub.warframestat.us
Apache License 2.0
0 stars 0 forks source link

Fix hitbox resizing #1

Open kylewill0725 opened 5 years ago

kylewill0725 commented 5 years ago

Warframe Hub Issue


Summary (short): Currently hitboxes are not recalculated when the component updates.


Mockups, screenshots, evidence: image


(Check one)


Updates

kylewill0725 commented 5 years ago

Found that persisting state was throwing me off. It was persisting worldstate which made it look like the panels were handling resizing correctly. Make sure to have persistence turned off using #4 before testing changes.

kylewill0725 commented 5 years ago

Found that having a Vue component as the root component of the VueGridItem resulted in the VueGridItem binding a HeightObserver to the wrong element. By first wrapping it in a div, it would watch the div for the attribute change which would then notify it of the new component height.