I'm using LTSpice v24.0.9, and all components are up to date.
I have a circuit like below. I rather not share the whole circuit publicly.
But a problem I'm seeing is that the comparator output is toggling even when there is no change in the voltage or current on the non-inverting and inverting inputs.
It also seems to me that the model does not take into account internal hysteresis as mentioned in the datasheet.

I have tried to find issues with my LTspice model but don't see anything of note. I have small resistances on the power supply, capacitors etc to prevent spikes. Any help would be much appreciated.
The blue and green show the comparator inputs. The red line shown the comparator output (it is toggling from 3.0V to 0V). I have no idea why this is happening.






