<p dir="auto">So I have this implementation of a select menu as follows:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import * as React from 'react';
import TextField from 'material-ui/TextField';
import { MenuItem } from 'material-ui/Menu';

export default class TestPage extends React.Component {
    render() {
        return &lt;div&gt;
            &lt;TextField fullWidth select
                value={'CAD'}
                inputRef={r =&gt; {
                   // Trying to access the ref
                    console.log(r);
                }}
                label=&quot;Select&quot;
            &gt;
                {['CAD', 'USD'].map(currency =&gt; (
                    &lt;MenuItem key={currency} value={currency}&gt;
                        {currency}
                    &lt;/MenuItem&gt;
                ))}
            &lt;/TextField&gt;
        &lt;/div&gt;
    }
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">TextField</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/TextField'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">MenuItem</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/Menu'</span><span class="pl-kos">;</span>

<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">TestPage</span> <span class="pl-k">extends</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span> <span class="pl-kos">{</span>
    <span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
        <span class="pl-k">return</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span>
            <span class="pl-c1">&lt;</span><span class="pl-ent">TextField</span> <span class="pl-c1">fullWidth</span> <span class="pl-c1">select</span>
                <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s">'CAD'</span><span class="pl-kos">}</span>
                <span class="pl-c1">inputRef</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">r</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
                   <span class="pl-c">// Trying to access the ref</span>
                    <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">r</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
                <span class="pl-kos">}</span><span class="pl-kos">}</span>
                <span class="pl-c1">label</span><span class="pl-c1">=</span><span class="pl-s">"Select"</span>
            <span class="pl-c1">&gt;</span>
                <span class="pl-kos">{</span><span class="pl-kos">[</span><span class="pl-s">'CAD'</span><span class="pl-kos">,</span> <span class="pl-s">'USD'</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">currency</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span>
                    <span class="pl-c1">&lt;</span><span class="pl-ent">MenuItem</span> <span class="pl-c1">key</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">currency</span><span class="pl-kos">}</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">currency</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span>
                        <span class="pl-kos">{</span><span class="pl-s1">currency</span><span class="pl-kos">}</span>
                    <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">MenuItem</span><span class="pl-c1">&gt;</span>
                <span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">}</span>
            <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">TextField</span><span class="pl-c1">&gt;</span>
        <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span>
    <span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>


<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">The console.log outputs the HTMLInput element</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The console.log outputs some mete object with "node" and "value"<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7451445/33242992-41f4fc56-d2ab-11e7-8de9-a1f350242e84.png"><img src="https://user-images.githubusercontent.com/7451445/33242992-41f4fc56-d2ab-11e7-8de9-a1f350242e84.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Here is codesandbox<br>
<a href="url">https://codesandbox.io/embed/kv16j7woo</a></p>
<h2 dir="auto">Context</h2>
<p dir="auto">I need to gain access to the element to get the value of the input box</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0 beta 20</td>
</tr>
<tr>
<td>React</td>
<td>16</td>
</tr>
<tr>
<td>browser</td>
<td>chrome</td>
</tr>
</tbody>
</table>
<p dir="auto">When writing theme overrides, (following <a href="https://material-ui.com/customization/themes/#the-other-variables" rel="nofollow">https://material-ui.com/customization/themes/#the-other-variables</a>) changing the shadows array doesn't override the default shadow style. Other elements like spacing and typography work fine.</p>


<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>

<p dir="auto">Defining a new shadow table with changed values should override the shadows css.</p>
<h2 dir="auto">Current Behavior</h2>

<p dir="auto">Material UI ignores the theme's shadow settings and returns the defaults.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>

<p dir="auto">Try it with the following theme <code class="notranslate">default.js</code>. The spacing changes to spec, the palette is defined appropriately, but the shadows do not change. The shadows in the code below are different from the defaults.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { createMuiTheme } from 'material-ui/styles';
import amber from 'material-ui/colors/amber';
import red from 'material-ui/colors/red';
import purple from 'material-ui/colors/purple';

const theme = createMuiTheme({
	palette: {
		primary: purple,
		secondary: red,
		error: amber,
	},
	
	&quot;spacing&quot;: {
		&quot;unit&quot;: 15
	},
	
	&quot;shadows&quot;: [
		&quot;none&quot;,
		&quot;0px 2px 3px 0px rgba(0, 0, 0, 0.3),0px 4px 5px 0px rgba(0, 0, 0, 0.06),0px 2px 1px -1px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 2px 5px 0px rgba(0, 0, 0, 0.3),0px 2px 2px 0px rgba(0, 0, 0, 0.06),0px 3px 1px -2px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 2px 9px 0px rgba(0, 0, 0, 0.3),0px 1px 3px 0px rgba(0, 0, 0, 0.06),0px 3px 3px -2px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 4px 4px -1px rgba(0, 0, 0, 0.3),0px 0px 5px 0px rgba(0, 0, 0, 0.06),0px 1px 10px 0px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 6px 6px -1px rgba(0, 0, 0, 0.3),0px -1px 10px 0px rgba(0, 0, 0, 0.06),0px 1px 14px 0px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 6px 6px -1px rgba(0, 0, 0, 0.3),0px -2px 12px 0px rgba(0, 0, 0, 0.06),0px 1px 18px 0px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 7px 6px -2px rgba(0, 0, 0, 0.3),0px -1px 12px 1px rgba(0, 0, 0, 0.06),0px 2px 16px 1px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 10px 6px -3px rgba(0, 0, 0, 0.3),0px 0px 12px 1px rgba(0, 0, 0, 0.06),0px 3px 14px 2px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 10px 7px -3px rgba(0, 0, 0, 0.3),0px 1px 14px 1px rgba(0, 0, 0, 0.06),0px 3px 16px 2px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 11px 7px -3px rgba(0, 0, 0, 0.3),0px 2px 16px 1px rgba(0, 0, 0, 0.06),0px 4px 18px 3px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 11px 8px -4px rgba(0, 0, 0, 0.3),0px 3px 17px 1px rgba(0, 0, 0, 0.06),0px 4px 20px 3px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 13px 9px -4px rgba(0, 0, 0, 0.3),0px 4px 19px 2px rgba(0, 0, 0, 0.06),0px 5px 22px 4px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 13px 9px -4px rgba(0, 0, 0, 0.3),0px 5px 21px 2px rgba(0, 0, 0, 0.06),0px 5px 24px 4px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 13px 10px -4px rgba(0, 0, 0, 0.3),0px 6px 23px 2px rgba(0, 0, 0, 0.06),0px 5px 26px 4px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 15px 10px -5px rgba(0, 0, 0, 0.3),0px 7px 24px 2px rgba(0, 0, 0, 0.06),0px 6px 28px 5px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 15px 12px -5px rgba(0, 0, 0, 0.3),0px 8px 26px 2px rgba(0, 0, 0, 0.06),0px 6px 30px 5px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 15px 13px -5px rgba(0, 0, 0, 0.3),0px 9px 28px 2px rgba(0, 0, 0, 0.06),0px 6px 32px 5px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 17px 13px -5px rgba(0, 0, 0, 0.3),0px 10px 30px 2px rgba(0, 0, 0, 0.06),0px 7px 34px 6px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 17px 14px -6px rgba(0, 0, 0, 0.3),0px 11px 31px 2px rgba(0, 0, 0, 0.06),0px 7px 36px 6px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 19px 15px -6px rgba(0, 0, 0, 0.3),0px 12px 33px 3px rgba(0, 0, 0, 0.06),0px 8px 38px 7px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 19px 15px -6px rgba(0, 0, 0, 0.3),0px 13px 35px 3px rgba(0, 0, 0, 0.06),0px 8px 40px 7px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 19px 16px -6px rgba(0, 0, 0, 0.3),0px 14px 37px 3px rgba(0, 0, 0, 0.06),0px 8px 42px 7px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 20px 16px -7px rgba(0, 0, 0, 0.3),0px 15px 38px 3px rgba(0, 0, 0, 0.06),0px 9px 44px 8px rgba(0, 0, 0, 0.04)&quot;,
		&quot;0px 20px 18px -7px rgba(0, 0, 0, 0.3),0px 16px 40px 3px rgba(0, 0, 0, 0.06),0px 9px 46px 8px rgba(0, 0, 0, 0.04)&quot;
	],
	
});

export default theme;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">createMuiTheme</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/styles'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">amber</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/colors/amber'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">red</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/colors/red'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">purple</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/colors/purple'</span><span class="pl-kos">;</span>

<span class="pl-k">const</span> <span class="pl-s1">theme</span> <span class="pl-c1">=</span> <span class="pl-en">createMuiTheme</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
	<span class="pl-c1">palette</span>: <span class="pl-kos">{</span>
		<span class="pl-c1">primary</span>: <span class="pl-s1">purple</span><span class="pl-kos">,</span>
		<span class="pl-c1">secondary</span>: <span class="pl-s1">red</span><span class="pl-kos">,</span>
		<span class="pl-c1">error</span>: <span class="pl-s1">amber</span><span class="pl-kos">,</span>
	<span class="pl-kos">}</span><span class="pl-kos">,</span>
	
	<span class="pl-s">"spacing"</span>: <span class="pl-kos">{</span>
		<span class="pl-s">"unit"</span>: <span class="pl-c1">15</span>
	<span class="pl-kos">}</span><span class="pl-kos">,</span>
	
	<span class="pl-s">"shadows"</span>: <span class="pl-kos">[</span>
		<span class="pl-s">"none"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 2px 3px 0px rgba(0, 0, 0, 0.3),0px 4px 5px 0px rgba(0, 0, 0, 0.06),0px 2px 1px -1px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 2px 5px 0px rgba(0, 0, 0, 0.3),0px 2px 2px 0px rgba(0, 0, 0, 0.06),0px 3px 1px -2px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 2px 9px 0px rgba(0, 0, 0, 0.3),0px 1px 3px 0px rgba(0, 0, 0, 0.06),0px 3px 3px -2px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 4px 4px -1px rgba(0, 0, 0, 0.3),0px 0px 5px 0px rgba(0, 0, 0, 0.06),0px 1px 10px 0px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 6px 6px -1px rgba(0, 0, 0, 0.3),0px -1px 10px 0px rgba(0, 0, 0, 0.06),0px 1px 14px 0px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 6px 6px -1px rgba(0, 0, 0, 0.3),0px -2px 12px 0px rgba(0, 0, 0, 0.06),0px 1px 18px 0px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 7px 6px -2px rgba(0, 0, 0, 0.3),0px -1px 12px 1px rgba(0, 0, 0, 0.06),0px 2px 16px 1px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 10px 6px -3px rgba(0, 0, 0, 0.3),0px 0px 12px 1px rgba(0, 0, 0, 0.06),0px 3px 14px 2px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 10px 7px -3px rgba(0, 0, 0, 0.3),0px 1px 14px 1px rgba(0, 0, 0, 0.06),0px 3px 16px 2px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 11px 7px -3px rgba(0, 0, 0, 0.3),0px 2px 16px 1px rgba(0, 0, 0, 0.06),0px 4px 18px 3px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 11px 8px -4px rgba(0, 0, 0, 0.3),0px 3px 17px 1px rgba(0, 0, 0, 0.06),0px 4px 20px 3px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 13px 9px -4px rgba(0, 0, 0, 0.3),0px 4px 19px 2px rgba(0, 0, 0, 0.06),0px 5px 22px 4px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 13px 9px -4px rgba(0, 0, 0, 0.3),0px 5px 21px 2px rgba(0, 0, 0, 0.06),0px 5px 24px 4px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 13px 10px -4px rgba(0, 0, 0, 0.3),0px 6px 23px 2px rgba(0, 0, 0, 0.06),0px 5px 26px 4px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 15px 10px -5px rgba(0, 0, 0, 0.3),0px 7px 24px 2px rgba(0, 0, 0, 0.06),0px 6px 28px 5px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 15px 12px -5px rgba(0, 0, 0, 0.3),0px 8px 26px 2px rgba(0, 0, 0, 0.06),0px 6px 30px 5px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 15px 13px -5px rgba(0, 0, 0, 0.3),0px 9px 28px 2px rgba(0, 0, 0, 0.06),0px 6px 32px 5px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 17px 13px -5px rgba(0, 0, 0, 0.3),0px 10px 30px 2px rgba(0, 0, 0, 0.06),0px 7px 34px 6px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 17px 14px -6px rgba(0, 0, 0, 0.3),0px 11px 31px 2px rgba(0, 0, 0, 0.06),0px 7px 36px 6px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 19px 15px -6px rgba(0, 0, 0, 0.3),0px 12px 33px 3px rgba(0, 0, 0, 0.06),0px 8px 38px 7px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 19px 15px -6px rgba(0, 0, 0, 0.3),0px 13px 35px 3px rgba(0, 0, 0, 0.06),0px 8px 40px 7px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 19px 16px -6px rgba(0, 0, 0, 0.3),0px 14px 37px 3px rgba(0, 0, 0, 0.06),0px 8px 42px 7px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 20px 16px -7px rgba(0, 0, 0, 0.3),0px 15px 38px 3px rgba(0, 0, 0, 0.06),0px 9px 44px 8px rgba(0, 0, 0, 0.04)"</span><span class="pl-kos">,</span>
		<span class="pl-s">"0px 20px 18px -7px rgba(0, 0, 0, 0.3),0px 16px 40px 3px rgba(0, 0, 0, 0.06),0px 9px 46px 8px rgba(0, 0, 0, 0.04)"</span>
	<span class="pl-kos">]</span><span class="pl-kos">,</span>
	
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s1">theme</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13400130/31844941-dd38839e-b5b0-11e7-9209-1cbe370d0f90.png"><img src="https://user-images.githubusercontent.com/13400130/31844941-dd38839e-b5b0-11e7-9209-1cbe370d0f90.png" alt="image" style="max-width: 100%;"></a><br>
^ the above shadow is not in my shadow definition override.</p>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>v1.0.0-beta.17</td>
</tr>
</tbody>
</table>