ix icon indicating copy to clipboard operation
ix copied to clipboard

Done button in DatePicker not visible when `range` property set to `false`

Open mohitmutha opened this issue 1 year ago • 1 comments

What happened?

When the range property is set to true the IxDatePicker displays a Done button. However the button is hidden when the range property is false

image

What type of frontend frameware are you seeing the problem on?

React

Which version of iX do you use?

v2.0.0

Code to produce this issue.

https://stackblitz.com/edit/v4gjuh?file=src%2Fdatepicker.tsx


/*
 * SPDX-FileCopyrightText: 2023 Siemens AG
 *
 * SPDX-License-Identifier: MIT
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

import { IxDatePicker } from '@siemens/ix-react';
import React from 'react';

export default () => {
  return (
    <>
      <IxDatePicker range={true} />
      <br />
      <IxDatePicker range={false} />
    </>
  );
};

mohitmutha avatar Jan 05 '24 06:01 mohitmutha

Internal ref [IX-864]

matthiashader avatar Feb 05 '24 11:02 matthiashader