Slider prevents key input to added TextEditor?

I have made a custom slider with an overlay (MidiLearnInterface) that can show some Comboboxes and TextEditors for changing its response to midi input. The comboboxes work fine, but the TextEditors do not respond to key input. I can select them, they go into edit mode and they respond to the arrow keys. But pressing any number or backspace does not do anything.

Applying the same overlay for a customised TextButton works just fine.

Here is the code for the custom slider:

class SliderMidiLearn : public juce::Slider,
public MidiLearnInterface
{
public:
    SliderMidiLearn(RibbonToNotesAudioProcessor& p, juce::String midiLearnID) : Slider(),
    MidiLearnInterface(this),
    audioProcessor(p),
    MidiLearnID(midiLearnID)
    {
        setPaintingIsUnclipped(true);
        CreateGui();
    }
    ~SliderMidiLearn()
    {
        RemoveListeners();
    }
   void CreateGui()
    {
        MidiLearnInterface::CreateGui();
    }

    void resized() override
    {
        Slider::resized();
        MidiLearnInterface::ResizeControls();
    }
    void AddListeners()
    {
        MidiLearnInterface::AddMidiInterfaceListeners();
    }
    void RemoveListeners()
    {
        MidiLearnInterface::RemoveMidiInterfaceListeners();
    }
private:

    void paint (juce::Graphics& g) override
    {
        Slider::paint(g);
        MidiLearnInterface::ShowMidiSettings();
    }
};

Can anyone help me understand what is going wrong here?

Here two images of the slider: first without the overlay and next with the overlay active:
SliderNormal

Background
I have created a Midi settings overlay. The idea is that you can make midi settings for a button or slider, so they will respond to the selected midi message.

Okay, I finally found the problem.
I forgot to add the listeners. So it had nothing to do with the slider class after all.
Sorry for bothering you all.