I am connecting a TCS230 sensor to an Arduino Uno R3 in order to read various colored lines on the floor. Recently I noticed (by accident) that the LEDs on the sensor remain on, and I can still read values from it, even if the 5V Vdd or the GND pins are disconnected, both together or separately. The other connections are 4 digital outputs from the Arduino, one digital input to the Arduino, and an active-low enable. This phenomenon is happening with both of the TCS230s that I have (one on a breadboard, the other soldered to a perfboard).
Does anyone have any idea why this would be happening? I've looked around the internet, but am at a loss.