react-ui-basics 0.0.223 → 0.0.225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ui-basics",
3
- "version": "0.0.223",
3
+ "version": "0.0.225",
4
4
  "description": "",
5
5
  "module": "index.js",
6
6
  "_main": "index.cjs.js",
@@ -167,8 +167,11 @@ class FilteredList<T extends string|number> extends PureComponent<FilteredListPr
167
167
  };
168
168
 
169
169
  updateScroll = (id) => {
170
- let child = this.elements[id];
171
- let container = this.el;
170
+ const child = this.elements[id];
171
+ if (!child)
172
+ return
173
+
174
+ const container = this.el;
172
175
  const scrollTop = container.getScroll();
173
176
  const height = container.getHeight();
174
177
  let isVisible = scrollTop <= child.offsetTop && scrollTop + height >= child.offsetTop + child.clientHeight;
package/src/TextField.css CHANGED
@@ -4,7 +4,7 @@
4
4
  }
5
5
  .TextField > label {
6
6
  font-family: Roboto, sans-serif;
7
- color: rgba(0, 0, 0, 0.3);
7
+ color: rgba(0, 0, 0, 0.5);
8
8
  font-size: 16px;
9
9
  position: absolute;
10
10
  left: 0px;
@@ -9,7 +9,7 @@ $redColor: rgb(244, 67, 54);
9
9
 
10
10
  > label {
11
11
  font-family: $font;
12
- color: rgba(0, 0, 0, 0.3);
12
+ color: rgba(0, 0, 0, 0.5);
13
13
 
14
14
  font-size: 16px;
15
15
  position: absolute;