X axis ticks are different when using both scatter and line as plot type in plotly grid layout

Hi, We areusing plotly react to render graph. We have requirement where user can update plot type line, scatter and scatter+line in grid and same x axis. When we are same plot type i.e scatter or line for all plots in grid, then x axis looks fine. But when we have different plot type e.g scatter for one and line for others then a axis looks different for them.
below is screenshot for same:
plotly scatter+line

Is there any way to restrict a-axis tick changes when updating plot type??