We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7dfffa commit 2baf32cCopy full SHA for 2baf32c
src/Components/Feedy.js
@@ -45,12 +45,15 @@ class Feedy extends Component {
45
* Display or hide Feedy
46
*/
47
refreshVisibility() {
48
- if (this.props.visible) {
49
- ReactDom.findDOMNode(this).style.bottom = 0;
50
- }
51
- else {
52
- ReactDom.findDOMNode(this).style.bottom = `${-this.getInnerHeight()}px`;
53
+ setTimeout(function() {
+ if (this.props.visible) {
+ ReactDom.findDOMNode(this).style.bottom = 0;
+ }
+ else {
+
54
+ ReactDom.findDOMNode(this).style.bottom = `${-this.getInnerHeight()}px`;
55
56
+ }.bind(this), 100); // delay for FF
57
}
58
59
getInnerHeight() {
0 commit comments