<commit_before>export default {
    name: 'ITransitionExpand',
    functional: true,

    render(h, context) {
        const data = {
            props: {
                name: 'expand',
            },
            on: {
                enter(element) {
                    element.style.position = 'absolute';
                    element.style.visibility = 'hidden';
                    element.style.height = 'auto';

                    const height = getComputedStyle(element).height;
                    element.style.position = null;
                    element.style.visibility = null;
                    element.style.height = 0;

                    setTimeout(() => {
                        element.style.height = height;
                    });
                },
                afterEnter(element) {
                    element.style.height = 'auto';
                },
                leave(element) {
                    const height = getComputedStyle(element).height;
                    element.style.height = height;

                    setTimeout(() => {
                        element.style.height = 0;
                    });
                }
            }
        };

        return h('transition', data, context.children);
    }
};<commit_msg>Updated timeout and height in transition.<commit_after>export default {
    name: 'ITransitionExpand',
    functional: true,

    render(h, context) {
        const data = {
            props: {
                name: 'expand',
            },
            on: {
                enter(element) {
                    element.style.position = 'absolute';
                    element.style.visibility = 'hidden';
                    element.style.height = 'auto';

                    const height = getComputedStyle(element).height;
                    element.style.position = null;
                    element.style.visibility = null;
                    element.style.height = '0px';

                    setTimeout(() => {
                        element.style.height = height;
                    }, 0);
                },
                afterEnter(element) {
                    element.style.height = 'auto';
                },
                leave(element) {
                    element.style.height = getComputedStyle(element).height;

                    setTimeout(() => {
                        element.style.height = '0px';
                    }, 0);
                }
            }
        };

        return h('transition', data, context.children);
    }
};
{'fraction_non_alphanumeric': 0.1042896497441952, 'fraction_numerical': 0.0023612750885478157, 'mean_word_length': 1.0126682501979414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3509156', 'n_tokens_mistral': 608, 'n_tokens_neox': 544, 'n_words': 102}